PHP 클래스 Devise\Pages\Collections\ResponseHandler

파일 보기 프로젝트 열기: devisephp/cms

공개 메소드들

메소드 설명
__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