Plentymarkets interface documentation
DeleteLog
Contracts
DeleteLogRepositoryContract
List delete log entries.
Namespace
Plenty\Modules\DeleteLog\Contracts
Methods
public search($page, $itemsPerPage):Plenty\Repositories\Models\PaginatedResult
Return type: PaginatedResult
List delete log entries
Name |
Type |
Description |
|
||
|
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
Models
DeleteLog
The delete log model
Namespace
Plenty\Modules\DeleteLog\Models
Name | Type | Description |
---|---|---|
referenceType |
The type of the deleted record<ul><li>1 = Category</li><li>2 = Payment</li><li>3 = Order</li><li>4 = Customer</li><li>5 = Item</li><li>6 = Facet of the type Attribute</li><li>7 = Facet of the type Property</li><li>8 = Facet of the type Manufacturer</li><li>9 = Facet of the type Availability</li><li>10 = Unit</li><li>11 = Sales price</li><li>12 = Sales price link to variation</li><li>13 = Item variation</li></ul>13 = Order item</li></ul> |
|
referenceValue |
The ID of the deleted record |
|
userRealName |
The real name of the user who deleted the record |
|
updatedAt |
The date and time that the record was deleted |
|
userId |
The ID of the user who deleted the record |
Methods
public toArray()
Returns this model as an array.