Example #1
0
 /**
  * Creates a key value array of the parameters that need to be passed by  url.
  * @return array A key value map.
  */
 protected function getArgumentMap()
 {
     $argMap = parent::getArgumentMap();
     //add user id...
     $argMap["userID"] = $this->parameter->GetUserId();
     return $argMap;
 }
Example #2
0
 /**
  * Creates a key value array of the parameters that need to be passed by  url.
  * @return array A key value map.
  */
 protected function getArgumentMap()
 {
     $argMap = parent::getArgumentMap();
     //add click parameter
     $argMap["clickparameters"] = $this->parameter->getNotificationId();
     return $argMap;
 }
Example #3
0
 /**
  * Creates a key value array of the parameters that need to be passed by  url.
  * @return array A key value map.
  */
 protected function getArgumentMap()
 {
     $argMap = parent::getArgumentMap();
     //add category and profile id
     $argMap["category"] = $this->parameter->getCategory();
     $argMap["classID"] = $this->parameter->getProfileMapId();
     return $argMap;
 }
Example #4
0
 /**
  * Creates a key value array of the parameters that need to be passed by url.
  * @return array A key value map.
  */
 protected function getArgumentMap()
 {
     $argMap = parent::getArgumentMap();
     //parameters
     $argMap["languageCode"] = $this->parameter->getLanguageCode();
     $argMap["classID"] = $this->parameter->getProfileMapId();
     return $argMap;
 }
Example #5
0
 /**
  * Creates a key value array of the parameters that need to be passed by url.
  * @return array A key value map.
  */
 protected function getArgumentMap()
 {
     $argMap = parent::getArgumentMap();
     //autocomplete parameters
     $argMap["languageCode"] = $this->parameter->getLanguageCode();
     $argMap["classID"] = $this->parameter->getProfileMapId();
     $argMap["queryString"] = $this->parameter->getInputQuery();
     return $argMap;
 }
Example #6
0
 /**
  * Creates a key value array of the parameters that need to be passed by url.
  * @return array A key value map.
  */
 protected function getArgumentMap()
 {
     $argMap = parent::getArgumentMap();
     //common paramters for all getXXXRecommendation style queries...
     $argMap["nbRec"] = $this->parameter->getNbRecommendation();
     $argMap["showAds"] = $this->parameter->getShowAds() ? "true" : "false";
     $argMap["userID"] = $this->parameter->getUserId();
     $argMap["classID"] = $this->parameter->getProfileMapId();
     $argMap["languageCode"] = $this->parameter->getLanguageCode();
     $argMap["referURL"] = $this->parameter->getRefererUrl();
     $bufferKeys = "";
     $bufferValues = "";
     //implode the key values pairs into separate strings
     Utils::implodeKeyValuePairsToSeparatedString($this->parameter->getConditions(), "_/_", $bufferKeys, $bufferValues);
     //add parameters
     $argMap["attributeNames"] = $bufferKeys;
     $argMap["attributeValues"] = $bufferValues;
     return $argMap;
 }