Beispiel #1
0
 /**
  * Service Call: RequestPermissions
  * @param RequestPermissionsRequest $requestPermissionsRequest
  * @return RequestPermissionsResponse
  * @throws APIException
  */
 public function RequestPermissions($requestPermissionsRequest, $apiUsername = null)
 {
     $ret = new RequestPermissionsResponse();
     $resp = $this->call("RequestPermissions", $requestPermissionsRequest, $apiUsername);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: RequestPermissions
  * @param RequestPermissionsRequest $requestPermissionsRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return RequestPermissionsResponse
  * @throws APIException
  */
 public function RequestPermissions($requestPermissionsRequest, $apiCredential = NULL)
 {
     $ret = new RequestPermissionsResponse();
     $resp = $this->call('Permissions', 'RequestPermissions', $requestPermissionsRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: RequestPermissions
  * @param RequestPermissionsRequest $requestPermissionsRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return RequestPermissionsResponse
  * @throws APIException
  */
 public function RequestPermissions($requestPermissionsRequest, $apiCredential = NULL)
 {
     $ret = new RequestPermissionsResponse();
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $resp = $this->call('Permissions', 'RequestPermissions', $requestPermissionsRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }