ResponseHandler
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
at line 43
instance
requestStoreInstance(integer $pageVersionId, integer $collectionSetId, array $input)
Stores the instance with given pageversion and collection set ids
at line 56
array
updateSortOrder(integer $pageVersionId, integer $collectionSetId, array $input)
Updates the sort order for a given instance
at line 74
void
renameInstance(integer $pageVersionId, integer $collectionInstanceId, array $input)
Renames the instance with a better, faster, more improved name.
at line 85
void
requestDeleteInstance(integer $collectionInstanceId)
Remove the collection instance from the database
at line 97
[type]
updateCollectionInstanceField([type] $fieldId, [type] $input)
Update the collection instance field