function __construct() { parent::__construct(); // Register Extra task $this->registerTask('apply', 'save'); $this->registerTask('unpublish', 'publish'); $this->registerTask('edit', 'display'); $this->registerTask('add', 'display'); }
/** * Constructor * * @since 0.9 */ function __construct() { parent::__construct(); // Register Extra task $this->registerTask('add', 'edit'); $this->registerTask('apply', 'save'); $this->registerTask('accesspublic', 'access'); $this->registerTask('accessregistered', 'access'); $this->registerTask('accessspecial', 'access'); }
function batch() { JRequest::setVar('view', 'uploadbatch'); JRequest::setVar('hidemainmenu', 1); //$model = $this->getModel('video'); $user =& JFactory::getUser(); parent::display(); }
/** * Logic to create the view for the edit categoryscreen * * @access public * @return void * @since 0.9 */ function edit() { JRequest::setVar('view', 'category'); JRequest::setVar('hidemainmenu', 1); $model = $this->getModel('category'); $user =& JFactory::getUser(); parent::display(); }
/** * Constructor * * @since 0.9 */ function __construct() { parent::__construct(); }