Plentymarkets interface documentation
MyView
Contracts
PresetContainerContract
This container contains presets registered at boot time
Namespace
Plenty\Modules\MyView\Contracts
Methods
public registerPresets($presets):void
Register an array of presets
Name |
Type |
Description |
|
public getAll():array
Returns an array of preset-container collections
public getPresetsForMyViewKey($myViewKey):array
Get all presets for a given my-view key
Name |
Type |
Description |
|
ViewSetNameRepositoryContract
This interface provides a method to update ViewSetNames
Namespace
Plenty\Modules\MyView\Contracts
ViewSetPermissionContract
This interface provides methods to create, get, update and delete ViewSets
Namespace
Plenty\Modules\MyView\Contracts
Methods
public search($searchParams):void
Search permissions
Name |
Type |
Description |
|
public save($data):bool
Save permissions
Name |
Type |
Description |
|
public updateDefaultViewSetRelation($relations, $key):void
Update given default view set relations.
Name |
Type |
Description |
|
||
|
public updateViewSetRelation($relations, $viewSetId):void
Update given view set relations.
Name |
Type |
Description |
|
||
|
ViewSetRepositoryContract
This interface provides methods to create, get, update and delete ViewSets
Namespace
Plenty\Modules\MyView\Contracts
Methods
public search($searchParams):void
Search the list of view sets.
Name |
Type |
Description |
|
public get($id):void
Get given view set.
Name |
Type |
Description |
|
public create($data):void
Create given view set.
Name |
Type |
Description |
|
public update($id, $data):void
Update given view set.
Name |
Type |
Description |
|
||
|
public delete($id):void
Delete given view set.
Name |
Type |
Description |
|
public setActive($userId, $viewSetId, $viewSetKey):void
Set the given view set active by user id
Name |
Type |
Description |
|
||
|
||
|