当前位置: 首页>>代码示例>>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;未经允许,请勿转载。