Exemplo n.º 1
0
/**
 * @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;
}
Exemplo n.º 2
0
 /**
  * @param LinkBuilder $linkBuilder
  */
 function AddCurrentPageParameters(&$linkBuilder)
 {
     $linkBuilder->AddParameter('page', $this->CurrentPageNumber());
 }
Exemplo n.º 3
0
 function CreateLinkBuilder()
 {
     $result = new LinkBuilder($this->GetPageFileName());
     if (isset($this->httpHandlerName)) {
         $result->AddParameter('hname', $this->httpHandlerName);
     }
     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);
     }
 }