PHP Class Devise\Pages\Collections\ResponseHandler

Afficher le fichier Open project: devisephp/cms

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

renameInstance() public méthode

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
Résultat void

requestDeleteInstance() public méthode

Remove the collection instance from the database
public requestDeleteInstance ( integer $collectionInstanceId ) : void
$collectionInstanceId integer
Résultat void

requestStoreInstance() public méthode

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
Résultat instance

updateCollectionInstanceField() public méthode

Update the collection instance field
public updateCollectionInstanceField ( [type] $fieldId, [type] $input ) : [type]
$fieldId [type]
$input [type]
Résultat [type]

updateSortOrder() public méthode

Updates the sort order for a given instance
public updateSortOrder ( integer $pageVersionId, integer $collectionSetId, array $input ) : array
$pageVersionId integer
$collectionSetId integer
$input array
Résultat array