english/administrator/components/com_categories/controllers/category.php
/**
	 * Method to run batch opterations.
	 *
	 * @return	void
	 */
Method to run batch opterations.
@return      void
Method to run batch opterations . @return void
public function batch($model)
	{
		JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
		$model	= $this->getModel('Category');
		$extension = JRequest::getCmd('extension', '');
		if ($extension) {
			$extension = '&extension='.$extension;
		}
		$this->setRedirect('index.php?option=com_categories&view=categories'.$extension);
		return parent::batch($model);
	}
public function batch ( $ model ) { JRequest :: checkToken ( ) or jexit ( JText :: _ ( 'JINVALID_TOKEN' ) ) ; $ model = $ this -> getModel ( 'Category' ) ; $ extension = JRequest :: getCmd ( 'extension' , '' ) ; if ( $ extension ) { $ extension = '&extension=' . $ extension ; } $ this -> setRedirect ( 'index.php?option=com_categories&view=categories' . $ extension ) ; return parent :: batch ( $ model ) ; }
Method to run batch opterations.
Method to run batch opterations .
// Set the model // Preset the redirect