/** * 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. */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') { $append = parent::getRedirectToItemAppend($recordId, $urlVar); if (!($projectround_id = $this->input->getInt('projectround_id'))) { $fromForm = $this->input->get('jform', null, 'array'); $projectround_id = $fromForm['projectround_id']; } return $append . '&projectround_id=' . $projectround_id; }
/** * 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. */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') { $append = parent::getRedirectToItemAppend($recordId, $urlVar); $data = $this->input->get('jform', array(), 'array'); if (!empty($data['payment_name'])) { $append .= '&payment_name=' . $data['payment_name']; } return $append; }
/** * 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. */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'rctranslations_id') { $append = parent::getRedirectToItemAppend($recordId, $urlVar); $append .= $this->getCommonRedirectAppend($append); if ($rctranslations_id = $this->input->get('rctranslations_id')) { $append .= '&rctranslations_id=' . $rctranslations_id; } if ($id = $this->input->get('id')) { $append .= '&id=' . $id; } return $append; }
/** * 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. */ protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') { $append = parent::getRedirectToItemAppend($recordId, $urlVar); $component = $this->input->get('component'); $tab = $this->input->get('tab'); if ($component) { $append .= '&component=' . $component; } if ($tab) { $append .= '&tab=' . $tab; } return $append; }