style(legacy): format files (#1946)
This commit is contained in:
parent
eb19283d96
commit
4d393fa14e
66 changed files with 775 additions and 565 deletions
|
@ -25,9 +25,11 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
|||
*/
|
||||
public function __construct(Zend_Acl $aclData, $roleName = 'G')
|
||||
{
|
||||
$this->_errorPage = ['module' => 'default',
|
||||
$this->_errorPage = [
|
||||
'module' => 'default',
|
||||
'controller' => 'error',
|
||||
'action' => 'error', ];
|
||||
'action' => 'error',
|
||||
];
|
||||
|
||||
$this->_roleName = $roleName;
|
||||
|
||||
|
@ -82,9 +84,11 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
|||
*/
|
||||
public function setErrorPage($action, $controller = 'error', $module = 'default')
|
||||
{
|
||||
$this->_errorPage = ['module' => $module,
|
||||
$this->_errorPage = [
|
||||
'module' => $module,
|
||||
'controller' => $controller,
|
||||
'action' => $action, ];
|
||||
'action' => $action,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue