PHP Class GcDevelopment\Controller\DocumentTypeController

Inheritance: extends Gc\Mvc\Controller\Action
Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$aclPage array Contains information about acl

Public Methods

Method Description
addPropertyAction ( ) : Zend\View\Model\JsonModel Add property in session
addTabAction ( ) : Zend\View\Model\JsonModel Add tab in session
createAction ( ) : Zend\View\Model\ViewModel | array Create document type
deleteAction ( ) : Zend\View\Model\JsonModel Delete Document type
deletePropertyAction ( ) : Zend\View\Model\JsonModel Delete property in session
deleteTabAction ( ) : Zend\View\Model\JsonModel Delete tab in session
editAction ( ) : Zend\View\Model\ViewModel | array Edit document type
importTabAction ( ) : Zend\View\Model\JsonModel Add tab in session
indexAction ( ) : Zend\View\Model\ViewModel | array List all document types

Protected Methods

Method Description
prepareDocumentTypeSession ( Zend\Session\Container $session, Model $documentType ) : array Prepare document type session
saveProperties ( Zend\InputFilter\InputFilter $propertiesSubform, array $existingTabs ) : array Save properties
saveTabs ( Zend\InputFilter\InputFilter $tabsSubform, Model $documentType ) : array Save tabs

Method Details

addPropertyAction() public method

Add property in session
public addPropertyAction ( ) : Zend\View\Model\JsonModel
return Zend\View\Model\JsonModel

addTabAction() public method

Add tab in session
public addTabAction ( ) : Zend\View\Model\JsonModel
return Zend\View\Model\JsonModel

createAction() public method

Create document type
public createAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array

deleteAction() public method

Delete Document type
public deleteAction ( ) : Zend\View\Model\JsonModel
return Zend\View\Model\JsonModel

deletePropertyAction() public method

Delete property in session
public deletePropertyAction ( ) : Zend\View\Model\JsonModel
return Zend\View\Model\JsonModel

deleteTabAction() public method

Delete tab in session
public deleteTabAction ( ) : Zend\View\Model\JsonModel
return Zend\View\Model\JsonModel

editAction() public method

Edit document type
public editAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array

importTabAction() public method

Add tab in session
public importTabAction ( ) : Zend\View\Model\JsonModel
return Zend\View\Model\JsonModel

indexAction() public method

List all document types
public indexAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array

prepareDocumentTypeSession() protected method

Prepare document type session
protected prepareDocumentTypeSession ( Zend\Session\Container $session, Model $documentType ) : array
$session Zend\Session\Container Session container
$documentType Gc\DocumentType\Model DocumentType model
return array

saveProperties() protected method

Save properties
protected saveProperties ( Zend\InputFilter\InputFilter $propertiesSubform, array $existingTabs ) : array
$propertiesSubform Zend\InputFilter\InputFilter Properties sub form
$existingTabs array Array of tabs
return array

saveTabs() protected method

Save tabs
protected saveTabs ( Zend\InputFilter\InputFilter $tabsSubform, Model $documentType ) : array
$tabsSubform Zend\InputFilter\InputFilter Tabs sub form
$documentType Gc\DocumentType\Model DocumentType model
return array

Property Details

$aclPage protected_oe property

Contains information about acl
protected array $aclPage
return array