function __construct() { // check token first JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // create an input object $this->input = JFactory::getApplication()->input; //Get View if ($this->input->get('view') == '') { $this->input->set('view', 'jt_persons'); } parent::__construct(); $this->registerTask('save', 'save'); // three tasks for publishing $this->registerTask('unpublish', 'publish'); $this->registerTask('publishAll', 'publishAll'); $this->registerTask('unpublishAll', 'unpublishAll'); // three tasks for living $this->registerTask('updateLiving', 'living'); $this->registerTask('livingAll', 'livingAll'); $this->registerTask('notLivingAll', 'notLivingAll'); // three tasks for page switch $this->registerTask('updatePage', 'page'); $this->registerTask('pageAll', 'pageAll'); $this->registerTask('noPageAll', 'noPageAll'); // three tasks for map switch $this->registerTask('mapStatAll', 'mapStatAll'); $this->registerTask('mapDynAll', 'mapDynAll'); $this->registerTask('noMapAll', 'noMapAll'); }
function __construct() { // first check token JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // create an input object $this->input = JFactory::getApplication()->input; //Get View if ($this->input->get('view') == '') { $this->input->set('view', 'personform'); } parent::__construct(); }
function __construct() { // check token first JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); parent::__construct(); //Get View if ($this->input->getCmd('view') == '') { $this->input->set('view', 'jt_themes'); } $this->registerTask('add', 'edit'); $this->registerTask('remove', 'delete'); $this->registerTask('apply', 'save'); }
function __construct() { // first check token JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // create an input object $this->input = JFactory::getApplication()->input; //Get View if ($this->input->get('view') == '') { $this->input->set('view', 'jt_settings'); } parent::__construct(); $this->registerTask('unpublish', 'publish'); }
function __construct() { // check token first JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // create an input object $this->input = JFactory::getApplication()->input; //Get View if ($this->input->get('view') == '') { $this->input->set('view', 'jt_locations'); } parent::__construct(); $this->registerTask('apply', 'save'); $this->registerTask('purgelocations', 'purge'); }
function __construct() { // check token first JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // create an input object $this->input = JFactory::getApplication()->input; //Get View if ($this->input->get('view') == '') { $this->input->set('view', 'jt_trees'); } parent::__construct(); $this->registerTask('saveassign', 'saveassign'); $this->registerTask('unpublish', 'publish'); $this->registerTask('add', 'edit'); $this->registerTask('remove', 'delete'); $this->registerTask('apply', 'save'); }
function __construct() { // check token first JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // create an input object $this->input = JFactory::getApplication()->input; //Get View if ($this->input->get('view') == '') { $this->input->set('view', 'jt_applications'); } parent::__construct(); $this->registerTask('add', 'edit'); $this->registerTask('remove', 'delete'); $this->registerTask('apply', 'save'); $this->registerTask('processGedCom', 'import'); $this->registerTask('exportGedCom', 'export'); $this->registerTask('clearGedCom', 'clearGedCom'); $this->registerTask('deleteGedCom', 'deleteGedCom'); }