MyView

Contracts

ViewSetRepositoryContract

This interface provides methods to create, get, update and delete ViewSets

Namespace

Plenty\Modules\MyView\Contracts

Methods

public search(array $searchParams):void

Search the list of view sets.

Parameters
array $searchParams
public get(int $id):void

Get given view set.

Parameters
int $id
public create(array $data):void

Create given view set.

Parameters
array $data
public update(int $id, array $data):void

Update given view set.

Parameters
int $id
array $data
public delete(int $id):void

Delete given view set.

Parameters
int $id
public setActive(int $userId, int $viewSetId, string $viewSetKey):void

Set the given view set active by user id

Parameters
int $userId
int $viewSetId
string $viewSetKey