當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。