PHP Класс Devise\Pages\Collections\ResponseHandler

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( CollectionsManager $CollectionsManager, FieldManager $FieldManager ) Construct a new Response Handler used by dvs_pages
renameInstance ( integer $pageVersionId, integer $collectionInstanceId, array $input ) : void Renames the instance with a better, faster, more improved name.
requestDeleteInstance ( integer $collectionInstanceId ) : void Remove the collection instance from the database
requestStoreInstance ( integer $pageVersionId, integer $collectionSetId, array $input ) : instance Stores the instance with given pageversion and collection set ids
updateCollectionInstanceField ( [type] $fieldId, [type] $input ) : [type] Update the collection instance field
updateSortOrder ( integer $pageVersionId, integer $collectionSetId, array $input ) : array Updates the sort order for a given instance

Описание методов

__construct() публичный Метод

Construct a new Response Handler used by dvs_pages
public __construct ( CollectionsManager $CollectionsManager, FieldManager $FieldManager )
$CollectionsManager CollectionsManager
$FieldManager Devise\Pages\Fields\FieldManager

renameInstance() публичный Метод

Renames the instance with a better, faster, more improved name.
public renameInstance ( integer $pageVersionId, integer $collectionInstanceId, array $input ) : void
$pageVersionId integer
$collectionInstanceId integer
$input array
Результат void

requestDeleteInstance() публичный Метод

Remove the collection instance from the database
public requestDeleteInstance ( integer $collectionInstanceId ) : void
$collectionInstanceId integer
Результат void

requestStoreInstance() публичный Метод

Stores the instance with given pageversion and collection set ids
public requestStoreInstance ( integer $pageVersionId, integer $collectionSetId, array $input ) : instance
$pageVersionId integer
$collectionSetId integer
$input array
Результат instance

updateCollectionInstanceField() публичный Метод

Update the collection instance field
public updateCollectionInstanceField ( [type] $fieldId, [type] $input ) : [type]
$fieldId [type]
$input [type]
Результат [type]

updateSortOrder() публичный Метод

Updates the sort order for a given instance
public updateSortOrder ( integer $pageVersionId, integer $collectionSetId, array $input ) : array
$pageVersionId integer
$collectionSetId integer
$input array
Результат array