當前位置: 首頁>>代碼示例>>PHP>>正文


PHP JControllerForm::batch方法代碼示例

本文整理匯總了PHP中JControllerForm::batch方法的典型用法代碼示例。如果您正苦於以下問題:PHP JControllerForm::batch方法的具體用法?PHP JControllerForm::batch怎麽用?PHP JControllerForm::batch使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在JControllerForm的用法示例。


在下文中一共展示了JControllerForm::batch方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: batch

 /**
  * 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);
 }
開發者ID:01J,項目名稱:skazkipronebo,代碼行數:17,代碼來源:item.php

示例2: batch

 /**
  * 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);
 }
開發者ID:Glonum,項目名稱:tz_portfolio,代碼行數:18,代碼來源:user.php

示例3: batch

 /**
  * 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);
 }
開發者ID:mined-gatech,項目名稱:hubzero-cms,代碼行數:18,代碼來源:user.php

示例4: batch

 /**
  * 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);
 }
開發者ID:mined-gatech,項目名稱:hubzero-cms,代碼行數:18,代碼來源:item.php

示例5: batch

 /**
  * 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);
 }
開發者ID:TFToto,項目名稱:playjoom-builds,代碼行數:18,代碼來源:audiotrack.php

示例6: batch

 /**
  * 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);
 }
開發者ID:smhnaji,項目名稱:sdnet,代碼行數:18,代碼來源:recommendation.php

示例7: batch

 /**
  * 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);
 }
開發者ID:smhnaji,項目名稱:sdnet,代碼行數:18,代碼來源:defaults_meally.php

示例8: batch

 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);
 }
開發者ID:beingsane,項目名稱:DPFields,代碼行數:9,代碼來源:field.php

示例9: batch

 /**
  * 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);
 }
開發者ID:rdeutz,項目名稱:square-one-cms,代碼行數:15,代碼來源:adminitem.php

示例10: batch

 /**
  * 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);
 }
開發者ID:joshjim27,項目名稱:jobsglobal,代碼行數:18,代碼來源:item.php

示例11: batch

 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);
 }
開發者ID:sankam-nikolya,項目名稱:lptt,代碼行數:9,代碼來源:page.php

示例12: batch

 /**
  * 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);
 }
開發者ID:adjaika,項目名稱:J3Base,代碼行數:18,代碼來源:tag.php

示例13: batch

 /**
  * 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);
 }
開發者ID:hogeh,項目名稱:htraininglogs,代碼行數:18,代碼來源:h_cfg_fitnessunit.php

示例14: batch

 /**
  * 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);
 }
開發者ID:adjaika,項目名稱:J3Base,代碼行數:19,代碼來源:contact.php

示例15: batch

 /**
  * 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);
 }
開發者ID:Joomla-Bible-Study,項目名稱:joomla_churchdirectory,代碼行數:19,代碼來源:member.php


注:本文中的JControllerForm::batch方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。