当前位置: 首页>>代码示例>>PHP>>正文


PHP JControllerForm::getRedirectToItemAppend方法代码示例

本文整理汇总了PHP中JControllerForm::getRedirectToItemAppend方法的典型用法代码示例。如果您正苦于以下问题:PHP JControllerForm::getRedirectToItemAppend方法的具体用法?PHP JControllerForm::getRedirectToItemAppend怎么用?PHP JControllerForm::getRedirectToItemAppend使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JControllerForm的用法示例。


在下文中一共展示了JControllerForm::getRedirectToItemAppend方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param   integer  $recordId  The primary key id for the item.
  * @param   string   $urlVar    The name of the URL variable for the id.
  *
  * @return  string  The arguments to append to the redirect URL.
  *
  * @since   1.6
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $fid = $fid = $this->input->getInt('fid', 0);
     $append = parent::getRedirectToItemAppend($recordId);
     $append .= '&fid=' . $fid;
     return $append;
 }
开发者ID:shamusdougan,项目名称:GDMCWebsite,代码行数:17,代码来源:visfield.php

示例2: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect. 
  * 
  * @copyright 
  * @author		RolandD 
  * @todo 
  * @see 
  * @access 		protected
  * @param 
  * @return		string with the append data 
  * @since 		4.3
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $jinput = JFactory::getApplication()->input;
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $append .= '&template_id=' . $jinput->get('template_id', 0, 'int');
     return $append;
 }
开发者ID:srbsnkr,项目名称:sellingonlinemadesimple,代码行数:19,代码来源:templatefield.php

示例3: q1getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param	int		$recordId	The primary key id for the item.
  * @param	string	$urlVar		The name of the URL variable for the id.
  *
  * @return	string	The arguments to append to the redirect URL.
  */
 protected function q1getRedirectToItemAppend($recordId = null, $urlVar = null)
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $itemId = JRequest::getInt('Itemid');
     if ($itemId) {
         $append .= '&Itemid=' . $itemId;
     }
     return $append;
 }
开发者ID:hogeh,项目名称:htraininglogs,代码行数:17,代码来源:fitnessrec.php

示例4: getRedirectToItemAppend

 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $feature = JRequest::getCmd('feature');
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     if ($feature) {
         $append .= '&feature=' . $feature;
     }
     return $append;
 }
开发者ID:Cloudum,项目名称:com_jea,代码行数:9,代码来源:feature.php

示例5: getRedirectToItemAppend

 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $app = JFactory::getApplication();
     if ($user_id = $app->input->get('user_id')) {
         $append .= '&user_id=' . (int) $user_id;
     }
     return $append;
 }
开发者ID:ForAEdesWeb,项目名称:AEW3,代码行数:9,代码来源:customer.php

示例6: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param   integer  $recordId  The primary key id for the item.
  * @param   string   $urlVar    The name of the URL variable for the id.
  *
  * @return  string  The arguments to append to the redirect URL.
  *
  * @see  JControllerForm::getRedirectToItemAppend
  *
  * @since   2.0.0
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $plugin = JFactory::getApplication()->input->get('plugin', '');
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     if (!empty($plugin)) {
         $append .= '&plugin=' . $plugin;
     }
     return $append;
 }
开发者ID:sabrinahung,项目名称:test_cms,代码行数:21,代码来源:server.php

示例7: getRedirectToItemAppend

 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $country_id = JFactory::getApplication()->input->get('country_id');
     if ($country_id) {
         $append .= '&country_id=' . $country_id;
     }
     return $append;
 }
开发者ID:jputz12,项目名称:OneNow-Vshop,代码行数:9,代码来源:state.php

示例8: getRedirectToItemAppend

 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $extra_id = JFactory::getApplication()->input->get('extra_id', 0, 'int');
     if ($extra_id) {
         $append .= '&extra_id=' . $extra_id;
     }
     return $append;
 }
开发者ID:JozefAB,项目名称:qk,代码行数:9,代码来源:extravalue.php

示例9: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param   integer  $recordId  The primary key id for the item.
  * @param   string   $urlVar    The name of the URL variable for the id.
  *
  * @return  string  The arguments to append to the redirect URL.
  *
  * @since   12.2
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $append .= "&client=" . $this->input->get("client");
     $append .= "&type=" . $this->input->get("type");
     $append .= "&name=" . $this->input->get("name");
     $append .= "&path=" . $this->input->get("path");
     return $append;
 }
开发者ID:joshjim27,项目名称:jobsglobal,代码行数:19,代码来源:fileeditor.php

示例10: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param   integer  $recordId  The primary key id for the item.
  * @param   string   $key       The name of the primary key variable.
  *
  * @return  string  The arguments to append to the redirect URL.
  *
  * @since   2.5
  */
 protected function getRedirectToItemAppend($recordId = null, $key = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $key);
     $userId = JFactory::getApplication()->input->get('u_id', 0, 'int');
     if ($userId) {
         $append .= '&u_id=' . $userId;
     }
     return $append;
 }
开发者ID:Nechoj23,项目名称:SVI-Homepage,代码行数:19,代码来源:note.php

示例11: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect
  *
  * @param   int    $recordId The primary key id for the item
  * @param   string $urlVar   The name of the URL variable for the id
  *
  * @return  string  The arguments to append to the redirect URL
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = null)
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     if ($itemId = JFactory::getApplication()->input->get('Itemid', 0, 'int')) {
         $append .= '&Itemid=' . $itemId;
     }
     if ($return = $this->getReturnPage()) {
         $append .= '&return=' . base64_encode($return);
     }
     return $append;
 }
开发者ID:Bakual,项目名称:Sichtweiten,代码行数:19,代码来源:sichtweitenmeldung.php

示例12: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param  int     $recordId  The primary key id for the item.
  * @param  string  $urlVar    The name of the URL variable for the id.
  *
  * @return string  The arguments to append to the redirect URL.
  * @since  1.6
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     // Get the infos
     $client = JRequest::getVar('client', '', 'default', 'cmd');
     $tag = JRequest::getVar('tag', '', 'default', 'cmd');
     $filename = JRequest::getVar('filename', '', 'default', 'cmd');
     $storage = JRequest::getVar('storage', '', 'default', 'cmd');
     // Get the append string
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $append .= '&client=' . $client . '&tag=' . $tag . '&filename=' . $filename . '&storage=' . $storage;
     return $append;
 }
开发者ID:ForAEdesWeb,项目名称:AEW4,代码行数:21,代码来源:translation.php

示例13: getRedirectToItemAppend

 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $user_id = JFactory::getApplication()->input->get('user_id', 0, 'int');
     if ($user_id) {
         $append .= '&user_id=' . $user_id;
     }
     $tmpl = JFactory::getApplication()->input->get('tmpl', '');
     if ($tmpl == 'component') {
         $append .= '&tmpl=component';
     }
     return $append;
 }
开发者ID:JozefAB,项目名称:qk,代码行数:13,代码来源:membership_subscriber.php

示例14: getRedirectToItemAppend

 /**
  * Gets the URL arguments to append to an item redirect.
  *
  * @param  int     $recordId  The primary key id for the item.
  * @param  string  $urlVar    The name of the URL variable for the id.
  *
  * @return string  The arguments to append to the redirect URL.
  * @since  1.6
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     // Get the infos
     $input = JFactory::getApplication()->input;
     $client = $input->get('client', '');
     $tag = $input->get('tag', '');
     $filename = $input->get('filename', '');
     $storage = $input->get('storage', '');
     // Get the append string
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $append .= '&client=' . $client . '&tag=' . $tag . '&filename=' . $filename . '&storage=' . $storage;
     return $append;
 }
开发者ID:svenbluege,项目名称:com_localise,代码行数:22,代码来源:translation.php

示例15: getRedirectToItemAppend

 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'user_id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $user_id = JFactory::getApplication()->input->get('id', 0, 'int');
     $temp_id = JFactory::getApplication()->input->get('temp_id', 0, 'int');
     if ($user_id) {
         $append .= '&user_id=' . $user_id;
     }
     $model = $this->getModel();
     if ($temp_id = $model->getTempId()) {
         $append .= '&temp_id=' . $temp_id;
     }
     return $append;
 }
开发者ID:JozefAB,项目名称:qk,代码行数:14,代码来源:subscriber.php


注:本文中的JControllerForm::getRedirectToItemAppend方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。