示例#1
0
 /**
  * Gets the URL arguments to append to a list redirect.
  *
  * @return  string  The arguments to append to the redirect URL.
  *
  * @since   11.1
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $gid = JRequest::getInt('filter_groupId');
     if ($gid !== 0) {
         $append .= '&filter_groupId=' . $gid;
     }
     return $append;
 }
示例#2
0
文件: element.php 项目: LGBGit/tierno
 /**
  * Gets the URL arguments to append to a list redirect.
  *
  * @param   int     $recordId  record id
  * @param   string  $urlVar    url var
  *
  * @return  string  The arguments to append to the redirect URL.
  *
  * @since   11.1
  */
 protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
 {
     $app = JFactory::getApplication();
     $input = $app->input;
     $append = parent::getRedirectToItemAppend($recordId, $urlVar);
     $gid = $input->getInt('filter_groupId', 0);
     if ($gid !== 0) {
         $append .= '&filter_groupId=' . $gid;
     }
     return $append;
 }