class ResponseHandler

Handle responses for collection instances

Methods

__construct(CollectionsManager $CollectionsManager, FieldManager $FieldManager)

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

[type]
updateCollectionInstanceField([type] $fieldId, [type] $input)

Update the collection instance field

Details

at line 29
__construct(CollectionsManager $CollectionsManager, FieldManager $FieldManager)

Construct a new Response Handler used by dvs_pages

Parameters

CollectionsManager $CollectionsManager
FieldManager $FieldManager

at line 43
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 56
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 74
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 85
void requestDeleteInstance(integer $collectionInstanceId)

Remove the collection instance from the database

Parameters

integer $collectionInstanceId

Return Value

void

at line 97
[type] updateCollectionInstanceField([type] $fieldId, [type] $input)

Update the collection instance field

Parameters

[type] $fieldId [description]
[type] $input [description]

Return Value

[type] [description]