| @@ 386-394 (lines=9) @@ | ||
| 383 | } |
|
| 384 | } |
|
| 385 | ||
| 386 | public function setUserTerritoryDeleteHeader($header) { |
|
| 387 | if ($header != NULL) { |
|
| 388 | $this->userTerritoryDeleteHeader = new SoapHeader($this->namespace, 'UserTerritoryDeleteHeader ', array ( |
|
| 389 | 'transferToUserId' => $header->transferToUserId |
|
| 390 | )); |
|
| 391 | } else { |
|
| 392 | $this->userTerritoryDeleteHeader = NULL; |
|
| 393 | } |
|
| 394 | } |
|
| 395 | ||
| 396 | public function setQueryOptions($header) { |
|
| 397 | if ($header != NULL) { |
|
| @@ 406-415 (lines=10) @@ | ||
| 403 | } |
|
| 404 | } |
|
| 405 | ||
| 406 | public function setAllowFieldTruncationHeader($header) { |
|
| 407 | if ($header != NULL) { |
|
| 408 | $this->allowFieldTruncationHeader = new SoapHeader($this->namespace, 'AllowFieldTruncationHeader', array ( |
|
| 409 | 'allowFieldTruncation' => $header->allowFieldTruncation |
|
| 410 | ) |
|
| 411 | ); |
|
| 412 | } else { |
|
| 413 | $this->allowFieldTruncationHeader = NULL; |
|
| 414 | } |
|
| 415 | } |
|
| 416 | ||
| 417 | public function setLocaleOptions($header) { |
|
| 418 | if ($header != NULL) { |
|
| @@ 417-427 (lines=11) @@ | ||
| 414 | } |
|
| 415 | } |
|
| 416 | ||
| 417 | public function setLocaleOptions($header) { |
|
| 418 | if ($header != NULL) { |
|
| 419 | $this->localeOptions = new SoapHeader($this->namespace, 'LocaleOptions', |
|
| 420 | array ( |
|
| 421 | 'language' => $header->language |
|
| 422 | ) |
|
| 423 | ); |
|
| 424 | } else { |
|
| 425 | $this->localeOptions = NULL; |
|
| 426 | } |
|
| 427 | } |
|
| 428 | ||
| 429 | /** |
|
| 430 | * @param $header |
|