PHP Class GcConfig\Controller\CmsController

Inheritance: extends Gc\Mvc\Controller\Action
Show file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$aclPage array Contains information about acl
$form GcConfig\Form\Config Config form

Public Methods

Method Description
editAction ( ) : Zend\View\Model\ViewModel | array Generate form and display
editGeneralAction ( ) : void Generate general configuration form
editServerAction ( ) : void Generate server configuration form
editSystemAction ( ) : void Generate system configuration form
updateAction ( ) : Zend\View\Model\ViewModel | array Update cms

Protected Methods

Method Description
checkVersion ( array $directories, string $type, array &$errors ) : void Check version in info file from $type directory

Method Details

checkVersion() protected method

Check version in info file from $type directory
protected checkVersion ( array $directories, string $type, array &$errors ) : void
$directories array List of directories
$type string Type of directory
$errors array
return void

editAction() public method

Generate form and display
public editAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array

editGeneralAction() public method

Generate general configuration form
public editGeneralAction ( ) : void
return void

editServerAction() public method

Generate server configuration form
public editServerAction ( ) : void
return void

editSystemAction() public method

Generate system configuration form
public editSystemAction ( ) : void
return void

updateAction() public method

Update cms
public updateAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array

Property Details

$aclPage protected property

Contains information about acl
protected array $aclPage
return array

$form protected property

Config form
protected Config,GcConfig\Form $form
return GcConfig\Form\Config