english/administrator/components/com_menus/controllers/item.php
/**
	 * Method to run batch opterations.
	 *
	 * @return	void
	 * @since	1.6
	 */
Method to run batch opterations.
Method to run batch opterations .
public function batch($model)
	{
		JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
		$model	= $this->getModel('Item', '', array());
		$this->setRedirect(JRoute::_('index.php?option=com_menus&view=items'.$this->getRedirectToListAppend(), false));
		return parent::batch($model);
	}
public function batch ( $ model ) { JRequest :: checkToken ( ) or jexit ( JText :: _ ( 'JINVALID_TOKEN' ) ) ; $ model = $ this -> getModel ( 'Item' , '' , array ( ) ) ; $ this -> setRedirect ( JRoute :: _ ( 'index.php?option=com_menus&view=items' . $ this -> getRedirectToListAppend ( ) , false ) ) ; return parent :: batch ( $ model ) ; }
Method to run batch opterations.
Method to run batch opterations .
// Initialise variables. // Preset the redirect