public function indexAction() { parent::indexAction(); $this->_resource->addInlineJs(' var canEdit = ' . $this->_user->canEdit($this->_module) . '; var canDelete = ' . $this->_user->canDelete($this->_module) . '; '); }
/** * (non-PHPdoc) * @see Backend_Controller::indexAction() */ public function indexAction() { parent::indexAction(); $this->_resource->addInlineJs(' var canPublish = ' . intval($this->_user->canPublish($this->_module)) . '; '); $this->_resource->addJs('/js/app/system/ContentWindow.js', 1); $this->_resource->addJs('/js/app/system/RevisionPanel.js', 2); }
public function __construct() { parent::__construct(); $this->_manager = new Backend_Localization_Manager($this->_configMain); }
public function __construct() { parent::__construct(); $this->_model = Model::factory($this->_objectName); }