/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.6 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); $model = $this->getModel('Item', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_menus&view=items' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True on success, false on failure * * @since 2.5 */ public function batch($model = null) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('User', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_tz_portfolio&view=users' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True on success, false on failure * * @since 2.5 */ public function batch($model = null) { Session::checkToken() or exit(Lang::txt('JINVALID_TOKEN')); // Set the model $model = $this->getModel('User', '', array()); // Preset the redirect $this->setRedirect(Route::url('index.php?option=com_users&view=users' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.6 */ public function batch($model = null) { Session::checkToken() or exit(Lang::txt('JINVALID_TOKEN')); // Initialise variables. $model = $this->getModel('Item', '', array()); // Preset the redirect $this->setRedirect(Route::url('index.php?option=com_menus&view=items' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.6 */ public function batch($model = null) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Audiotrack'); // Preset the redirect $this->setRedirect('index.php?option=com_playjoom&view=audiotracks'); return parent::batch($model); }
/** * Method to run batch operations. * * @param string $model The model * * @return boolean True on success. * * @since 2.5 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Recommendation', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_testyourself&view=recommendations' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.6 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('defaults_meally', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_sibdiet&view=defaults_meallys' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Field'); // Preset the redirect $this->setRedirect('index.php?option=com_dpfields&view=fields&context=' . $this->internalContext); return parent::batch($model); }
/** * Method to run batch opterations. * * @return void * @since 1.6 */ public function batch($model) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Initialise variables. $model = $this->getModel('Adminitem', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_menus&view=adminitems' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 2.5 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel($this->getName(), 'JDeveloperModel'); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_jdeveloper&view=' . $this->view_list, false)); return parent::batch($model); }
public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Page', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_azurapagebuilder&view=pages' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 3.1 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Tag'); // Preset the redirect $this->setRedirect('index.php?option=com_tags&view=tags'); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.7 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('H_cfg_fitnessunit', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_htraininglogs&view=h_cfg_fitnessunits' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 2.5 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model /** @var ContactModelContact $model */ $model = $this->getModel('Contact', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_contact&view=contacts' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param JModelLegacy $model The model of the component being processed. * * @return void * * @since 1.6 */ public function batch($model) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model /** @var $model JModelLegacy */ $model = $this->getModel('Member', '', []); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_churchdirectory&view=members' . $this->getRedirectToListAppend(), false)); parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model of the component being processed. * * @return boolean True if successful, false otherwise and internal error is set. */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel(); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=' . $this->option . '&view=' . $this->view_list . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param string $model The model * * @return boolean True on success. * * @since 1.7 */ public function batch($model = null) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Module', '', array()); // Preset the redirect $this->setRedirect(JRoute::_(sprintf('index.php?option=%s&view=modules', RokSprocket_Helper::getRedirectionOption()) . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.6 */ public function batch($model = null) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Article', 'JE_ContentModel', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_je_content&view=articles' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Teamnaam', 'Knvbapi2Model', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_knvbapi2&view=teamnaams' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
public function batch($model) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('phocagalleryimg', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_phocagallery&view=phocagalleryimgs' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch opterations. * * @return void */ public function batch($model) { JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Category'); $extension = JRequest::getCmd('extension', ''); if ($extension) { $extension = '&extension=' . $extension; } // Preset the redirect $this->setRedirect('index.php?option=com_flexicontent&view=categories' . $extension); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 2.5 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Company', '', array()); // Preset the redirect $this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=companies' . $this->getRedirectToListAppend(), false)); return parent::batch($model); }
/** * Method to run batch operations. * * @param object $model The model. * * @return boolean True if successful, false otherwise and internal error is set. * * @since 1.6 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Category'); // Preset the redirect $this->setRedirect('index.php?option=com_categories&view=categories&extension=' . $this->extension); return parent::batch($model); }
/** * Method to run batch operations. * * @param string $model The model * * @return boolean True on success. * * @since 1.7 */ public function batch($model = null) { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); // Set the model $model = $this->getModel('Module', '', array()); // Preset the redirect $redirectUrl = 'index.php?option=com_advancedmodules&view=modules' . $this->getRedirectToListAppend(); $this->setRedirect(JRoute::_($redirectUrl, false)); return parent::batch($model); }