コード例 #1
0
ファイル: Video.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $battr
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function addBattr($battr)
 {
     $this->validateIn($battr, CreativeAttributes::getAll());
     $this->battr[] = $battr;
     return $this;
 }
コード例 #2
0
ファイル: Bid.php プロジェクト: powerlinks/php-open-rtb
 /**
  * @param int $attr
  * @return $this
  * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue
  */
 public function addAttr($attr)
 {
     $this->validateIn($attr, CreativeAttributes::getAll());
     $this->attr = $attr;
     return $this;
 }