コード例 #1
0
ファイル: item.php プロジェクト: 01J/skazkipronebo
 /**
  * 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);
 }
コード例 #2
0
ファイル: user.php プロジェクト: Glonum/tz_portfolio
 /**
  * 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);
 }
コード例 #3
0
ファイル: user.php プロジェクト: mined-gatech/hubzero-cms
 /**
  * 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);
 }
コード例 #4
0
ファイル: item.php プロジェクト: mined-gatech/hubzero-cms
 /**
  * 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);
 }
コード例 #5
0
ファイル: audiotrack.php プロジェクト: TFToto/playjoom-builds
 /**
  * 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);
 }
コード例 #6
0
ファイル: recommendation.php プロジェクト: smhnaji/sdnet
 /**
  * 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);
 }
コード例 #7
0
ファイル: defaults_meally.php プロジェクト: smhnaji/sdnet
 /**
  * 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);
 }
コード例 #8
0
ファイル: field.php プロジェクト: beingsane/DPFields
 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);
 }
コード例 #9
0
ファイル: adminitem.php プロジェクト: rdeutz/square-one-cms
 /**
  * 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);
 }
コード例 #10
0
ファイル: item.php プロジェクト: joshjim27/jobsglobal
 /**
  * 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);
 }
コード例 #11
0
ファイル: page.php プロジェクト: sankam-nikolya/lptt
 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);
 }
コード例 #12
0
ファイル: tag.php プロジェクト: adjaika/J3Base
 /**
  * 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);
 }
コード例 #13
0
 /**
  * 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);
 }
コード例 #14
0
ファイル: contact.php プロジェクト: adjaika/J3Base
 /**
  * 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);
 }
コード例 #15
0
 /**
  * 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);
 }
コード例 #16
0
 /**
  * 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);
 }
コード例 #17
0
ファイル: module.php プロジェクト: atikahmed/joomla-probid
 /**
  * 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);
 }
コード例 #18
0
ファイル: article.php プロジェクト: ngxuanmui/hanhphuc.vn
 /**
  * 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);
 }
コード例 #19
0
ファイル: teamnaam.php プロジェクト: esorone/efcpw
 /**
  * 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);
 }
コード例 #20
0
 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);
 }
コード例 #21
0
ファイル: category.php プロジェクト: kosmosby/medicine-prof
 /**
  * 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);
 }
コード例 #22
0
 /**
  * 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);
 }
コード例 #23
0
ファイル: category.php プロジェクト: GitIPFire/Homeworks
 /**
  * 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);
 }
コード例 #24
0
ファイル: module.php プロジェクト: jputz12/OneNow-Vshop
 /**
  * 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);
 }