PHP Class GcDevelopment\Controller\ScriptController

Inheritance: extends Gc\Mvc\Controller\Action
显示文件 Open project: gotcms/gotcms

Protected Properties

Property Type Description
$aclPage array Contains information about acl

Public Methods

Method Description
createAction ( ) : Zend\Script\Model\ScriptModel Create script
deleteAction ( ) : Zend\View\Model\JsonModel Delete Script
downloadAction ( ) : Zend\Stdlib\ResponseInterface Send a file to the browser
editAction ( ) : Zend\Script\Model\ScriptModel Edit script
indexAction ( ) : Zend\Script\Model\ScriptModel List all scripts
uploadAction ( ) : Zend\Http\Response Upload a file to the server

Method Details

createAction() public method

Create script
public createAction ( ) : Zend\Script\Model\ScriptModel
return Zend\Script\Model\ScriptModel

deleteAction() public method

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

downloadAction() public method

Send a file to the browser
public downloadAction ( ) : Zend\Stdlib\ResponseInterface
return Zend\Stdlib\ResponseInterface

editAction() public method

Edit script
public editAction ( ) : Zend\Script\Model\ScriptModel
return Zend\Script\Model\ScriptModel

indexAction() public method

List all scripts
public indexAction ( ) : Zend\Script\Model\ScriptModel
return Zend\Script\Model\ScriptModel

uploadAction() public method

Upload a file to the server
public uploadAction ( ) : Zend\Http\Response
return Zend\Http\Response

Property Details

$aclPage protected_oe property

Contains information about acl
protected array $aclPage
return array