/** * Constructor * * @access protected * @return void * @since 1.5.5 */ function __construct() { parent::__construct(); // Set view if (JRequest::getCmd('view') != 'mini') { JRequest::setVar('view', 'control'); } }
/** * Constructor * * @return void * @since 1.5.5 */ public function __construct() { parent::__construct(); // Set view JRequest::setVar('view', 'comments'); // Register tasks $this->registerTask('unpublish', 'publish'); $this->registerTask('reject', 'approve'); }
/** * Constructor * * @access protected * @return void * @since 1.5.5 */ function __construct() { parent::__construct(); // Require the migration helper class require_once JPATH_COMPONENT . '/helpers/migration.php'; // Set view JRequest::setVar('view', 'migration'); // Register tasks $this->registerTask('check', 'migrate'); $this->registerTask('start', 'migrate'); }
/** * Constructor * * @access protected * @return void * @since 1.5.5 */ function __construct() { parent::__construct(); // Access check if (!JFactory::getUser()->authorise('core.admin', _JOOM_OPTION)) { $this->setRedirect(JRoute::_($this->_ambit->getRedirectUrl(''), false), 'You are not allowed to configure this component', 'notice'); $this->redirect(); } // Set view JRequest::setVar('view', 'cssedit'); $this->file = JPATH_ROOT . '/media/joomgallery/css/joom_local.css'; // Register task $this->registerTask('apply', 'save'); }
/** * Constructor * * @return void * @since 1.5.5 */ public function __construct() { parent::__construct(); // Access check if (!JFactory::getUser()->authorise('core.admin', _JOOM_OPTION)) { $this->setRedirect(JRoute::_($this->_ambit->getRedirectUrl(''), false), 'You are not allowed to configure this component', 'notice'); $this->redirect(); } // Set view JRequest::setVar('view', 'maintenance'); $this->registerTask('parsefolders', 'check'); $this->registerTask('checkimages', 'check'); $this->registerTask('checkcategories', 'check'); $this->registerTask('createfilesuggestions', 'check'); $this->registerTask('createfoldersuggestions', 'check'); }
/** * Constructor * * @access protected * @return void * @since 1.5.5 */ function __construct() { parent::__construct(); // Set view JRequest::setVar('view', 'categories'); // Register tasks $this->registerTask('new', 'edit'); $this->registerTask('apply', 'save'); $this->registerTask('save2new', 'save'); $this->registerTask('save2copy', 'save'); $this->registerTask('unpublish', 'publish'); #$this->registerTask('reject', 'approve'); $this->registerTask('accesspublic', 'access'); $this->registerTask('accessregistered', 'access'); $this->registerTask('accessspecial', 'access'); $this->registerTask('orderup', 'order'); $this->registerTask('orderdown', 'order'); }
/** * Constructor * * @return void * @since 1.5.5 */ public function __construct() { parent::__construct(); // Access check if (!JFactory::getUser()->authorise('core.admin', _JOOM_OPTION)) { $this->setRedirect(JRoute::_($this->_ambit->getRedirectUrl(''), false), 'You are not allowed to configure this component', 'notice'); $this->redirect(); } // Register tasks $this->registerTask('new', 'edit'); $this->registerTask('apply', 'save'); $this->registerTask('orderup', 'order'); $this->registerTask('orderdown', 'order'); // Set view if ($this->_config->isExtended()) { JRequest::setVar('view', 'configs'); } else { JRequest::setVar('view', 'config'); } }
/** * Constructor * * @return void * @since 3.0 */ public function __construct() { parent::__construct(); // Set view JRequest::setVar('view', 'ajaxupload'); }
/** * Constructor * * @access protected * @return void * @since 3.1 */ function __construct() { parent::__construct(); // Set view JRequest::setVar('view', 'changelog'); }
/** * Constructor * * @access protected * @return void * @since 1.5.5 */ function __construct() { parent::__construct(); // Set view JRequest::setVar('view', 'help'); }