DeleteLog

Contracts

DeleteLogRepositoryContract

List delete log entries.

Namespace

Plenty\Modules\DeleteLog\Contracts

Methods

public search(int $page, int $itemsPerPage):PaginatedResult

List delete log entries

Parameters
int $page
int $itemsPerPage
public setFilters(array $filters = []):void

Sets the filter array.

Parameters
array $filters
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

Properties

Type Name Description
int referenceType The type of the deleted record
  • 1 = Category
  • 2 = Payment
  • 3 = Order
  • 4 = Customer
  • 5 = Item
  • 6 = Facet of the type Attribute
  • 7 = Facet of the type Property
  • 8 = Facet of the type Manufacturer
  • 9 = Facet of the type Availability
  • 10 = Unit
  • 11 = Sales price
  • 12 = Sales price link to variation
  • 13 = Item variation
int referenceValue The ID of the deleted record
string userRealName The real name of the user who deleted the record
string updatedAt The date and time that the record was deleted
int userId The ID of the user who deleted the record

Methods

public toArray()

Returns this model as an array.