当前位置: 首页>>代码示例>>PHP>>正文


PHP ApiError::__construct方法代码示例

本文整理汇总了PHP中ApiError::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP ApiError::__construct方法的具体用法?PHP ApiError::__construct怎么用?PHP ApiError::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ApiError的用法示例。


在下文中一共展示了ApiError::__construct方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:antonsmolin,项目名称:google-ads-api-namespaced,代码行数:9,代码来源:SelectorError.php

示例2: __construct

 public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->rateName = $rateName;
     $this->rateScope = $rateScope;
     $this->retryAfterSeconds = $retryAfterSeconds;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:nediam,项目名称:adwords-lib,代码行数:12,代码来源:RateExceededError.php

示例3: __construct

 public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->enclosingId = $enclosingId;
     $this->limit = $limit;
     $this->accountLimitType = $accountLimitType;
     $this->existingCount = $existingCount;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:anton-github,项目名称:google-adwords-api-light,代码行数:13,代码来源:EntityCountLimitExceeded.php

示例4: __construct

 public function __construct($reason = null, $functionString = null, $operatorName = null, $operandIndex = null, $operandValue = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->functionString = $functionString;
     $this->operatorName = $operatorName;
     $this->operandIndex = $operandIndex;
     $this->operandValue = $operandValue;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:nediam,项目名称:adwords-lib,代码行数:13,代码来源:AdCustomizerError.php

示例5: __construct

 public function __construct($key = null, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
 {
     parent::__construct();
     $this->key = $key;
     $this->externalPolicyName = $externalPolicyName;
     $this->externalPolicyUrl = $externalPolicyUrl;
     $this->externalPolicyDescription = $externalPolicyDescription;
     $this->isExemptable = $isExemptable;
     $this->violatingParts = $violatingParts;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:nediam,项目名称:adwords-lib,代码行数:14,代码来源:PolicyViolationError.php

示例6: __construct

 public function __construct($fieldPath = null, $trigger = null, $errorString = null)
 {
     parent::__construct();
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
 }
开发者ID:AndrewGMH,项目名称:googleads-php-lib,代码行数:7,代码来源:ProductPackageItemService.php

示例7: __construct

 public function __construct($fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('UniqueError')) {
         parent::__construct();
     }
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:josephbergdoll,项目名称:berrics,代码行数:10,代码来源:CustomFieldService.php

示例8: __construct

 public function __construct($fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     parent::__construct();
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:venkyanthony,项目名称:google-api-dfp-php,代码行数:8,代码来源:CreativeWrapperService.php

示例9: __construct

 /**
  * UnauthorizedException constructor.
  * @param null|string $message
  */
 public function __construct($message)
 {
     parent::__construct($message, 401);
 }
开发者ID:harmstyler,项目名称:efront,代码行数:8,代码来源:UnauthorizedException.php

示例10: __construct

 public function __construct($reason = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('AdUnitHierarchyError')) {
         parent::__construct();
     }
     $this->reason = $reason;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:josephbergdoll,项目名称:berrics,代码行数:11,代码来源:PublisherQueryLanguageService.php

示例11: __construct

 public function __construct($reason = NULL, $adGroupId = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('AdGroupServiceError')) {
         parent::__construct();
     }
     $this->reason = $reason;
     $this->adGroupId = $adGroupId;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:sambavade,项目名称:google-api-adwords-php,代码行数:12,代码来源:MutateJobService.php

示例12: __construct

 public function __construct($key = NULL, $externalPolicyName = NULL, $externalPolicyUrl = NULL, $externalPolicyDescription = NULL, $isExemptable = NULL, $violatingParts = NULL, $fieldPath = NULL, $trigger = NULL, $errorString = NULL, $ApiErrorType = NULL)
 {
     if (get_parent_class('PolicyViolationError')) {
         parent::__construct();
     }
     $this->key = $key;
     $this->externalPolicyName = $externalPolicyName;
     $this->externalPolicyUrl = $externalPolicyUrl;
     $this->externalPolicyDescription = $externalPolicyDescription;
     $this->isExemptable = $isExemptable;
     $this->violatingParts = $violatingParts;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
     $this->ApiErrorType = $ApiErrorType;
 }
开发者ID:fertandil87,项目名称:adwords-php-client,代码行数:16,代码来源:AdGroupAdService.php

示例13: __construct

 public function __construct($reason = null, $workflowErrorMessage = null, $fieldPath = null, $trigger = null, $errorString = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->workflowErrorMessage = $workflowErrorMessage;
     $this->fieldPath = $fieldPath;
     $this->trigger = $trigger;
     $this->errorString = $errorString;
 }
开发者ID:stevenmaguire,项目名称:googleads-php-lib,代码行数:9,代码来源:ProposalService.php

示例14: __construct

 /**
  * BadRequestException constructor.
  * @param null $message
  */
 public function __construct($message = null)
 {
     parent::__construct($message, 400);
 }
开发者ID:harmstyler,项目名称:efront,代码行数:8,代码来源:BadRequestException.php


注:本文中的ApiError::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。