Plentymarkets interface documentation

Marking

Contracts

MarkingRepositoryContract

Markings lookup repository

Namespace

Plenty\Modules\Marking\Contracts

Methods
public get($id):Plenty\Modules\Marking\Models\Marking
Return type: Marking

Gets a marking by given ID

Parameters

Name

Type

Description

$id

int

Search markings by given criteria

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.

public setFilters($filters = []):void

Sets the filter array.

Parameters

Name

Type

Description

$filters

array

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.

Models

Marking

Marking

Namespace

Plenty\Modules\Marking\Models

Properties
Name Type Description

id

int

markId

int

name

string

icon

string

text

string

type

string

Methods
public toArray()

Returns this model as an array.