Devise
Class

Devise\Pages\Collections\ResponseHandler

class ResponseHandler

Handle responses for collection instances

Methods

__construct(CollectionsManager $CollectionsManager)

Construct a new Response Handler used by dvs_pages

instance requestStoreInstance(integer $pageVersionId, integer $collectionSetId, array $input)

Stores the instance with given pageversion and collection set ids

array updateSortOrder(integer $pageVersionId, integer $collectionSetId, array $input)

Updates the sort order for a given instance

void renameInstance(integer $pageVersionId, integer $collectionInstanceId, array $input)

Renames the instance with a better, faster, more improved name.

void requestDeleteInstance(integer $collectionInstanceId)

Remove the collection instance from the database

Details

at line 20
public __construct(CollectionsManager $CollectionsManager)

Construct a new Response Handler used by dvs_pages

Parameters

CollectionsManager $CollectionsManager

at line 33
public instance requestStoreInstance(integer $pageVersionId, integer $collectionSetId, array $input)

Stores the instance with given pageversion and collection set ids

Parameters

integer $pageVersionId
integer $collectionSetId
array $input

Return Value

instance

at line 60
public array updateSortOrder(integer $pageVersionId, integer $collectionSetId, array $input)

Updates the sort order for a given instance

Parameters

integer $pageVersionId
integer $collectionSetId
array $input

Return Value

array

at line 78
public void renameInstance(integer $pageVersionId, integer $collectionInstanceId, array $input)

Renames the instance with a better, faster, more improved name.

Parameters

integer $pageVersionId
integer $collectionInstanceId
array $input

Return Value

void

at line 89
public void requestDeleteInstance(integer $collectionInstanceId)

Remove the collection instance from the database

Parameters

integer $collectionInstanceId

Return Value

void