Example #1
0
 /**
  * Constructor
  *
  * @access  protected
  * @return  void
  * @since   1.5.5
  */
 function __construct()
 {
     parent::__construct();
     // Set view
     if (JRequest::getCmd('view') != 'mini') {
         JRequest::setVar('view', 'control');
     }
 }
Example #2
0
 /**
  * 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');
 }
Example #3
0
 /**
  * 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');
 }
Example #4
0
 /**
  * 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');
 }
Example #5
0
 /**
  * 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');
 }
Example #6
0
 /**
  * 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');
 }
Example #7
0
 /**
  * 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');
     }
 }
Example #8
0
 /**
  * Constructor
  *
  * @return  void
  * @since   3.0
  */
 public function __construct()
 {
     parent::__construct();
     // Set view
     JRequest::setVar('view', 'ajaxupload');
 }
Example #9
0
 /**
  * Constructor
  *
  * @access  protected
  * @return  void
  * @since   3.1
  */
 function __construct()
 {
     parent::__construct();
     // Set view
     JRequest::setVar('view', 'changelog');
 }
Example #10
0
 /**
  * Constructor
  *
  * @access  protected
  * @return  void
  * @since   1.5.5
  */
 function __construct()
 {
     parent::__construct();
     // Set view
     JRequest::setVar('view', 'help');
 }