/** * @param LinkBuilder $linkBuilder * @param array $PrimaryKeyValues * @return string */ function AddPrimaryKeyParameters($linkBuilder, $PrimaryKeyValues) { $KeyValueList = ''; $KeyValueNumber = 0; foreach ($PrimaryKeyValues as $PrimaryKeyValue) { $linkBuilder->AddParameter("pk{$KeyValueNumber}", $PrimaryKeyValue); $KeyValueNumber++; } return $KeyValueList; }
public function CreateLookupSearchInput($fieldName, $caption, Dataset $lookupDataset, $idColumn, $valueColumn, $useComboBox = false) { return new LookupSearchColumn($fieldName, $caption, $this->stringLocalizer, new SuperGlobals($this->name), $this->variableContainer, $this->linkBuilder->CloneLinkBuilder(), $lookupDataset, $idColumn, $valueColumn, $useComboBox); }
/** * @param LinkBuilder $linkBuilder */ function AddCurrentPageParameters(&$linkBuilder) { $linkBuilder->AddParameter('page', $this->CurrentPageNumber()); }
/** * @return string */ public function GetDataUrl() { $linkBuilder = $this->linkBuilder->CloneLinkBuilder(); $linkBuilder->AddParameter(OPERATION_HTTPHANDLER_NAME_PARAMNAME, $this->GetHandlerName()); return $linkBuilder->GetLink(); }
function CreateLinkBuilder() { $result = new LinkBuilder($this->GetPageFileName()); if (isset($this->httpHandlerName)) { $result->AddParameter('hname', $this->httpHandlerName); } return $result; }
public function CloneLinkBuilder() { $result = new LinkBuilder($this->targetPage); $result->AddParameters($this->GetParameters()); return $result; }
public function DecorateLinkForPostMasterRecord(LinkBuilder $linkBuilder) { $linkBuilder->AddParameter('details-redirect', $this->separatePageHandlerName); }
public function fillGetParams(LinkBuilder $linkBuilder) { foreach ($this->GetArrayByInputMethod(InputMethod::Get) as $key => $value) { $linkBuilder->AddParameter($key, $value); } }