AdUnit::__construct PHP Метод

__construct() публичный Метод

public __construct ( $id = null, $parentId = null, $hasChildren = null, $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, $adUnitSizes = null, $mobilePlatform = null, $explicitlyTargeted = null, $inheritedAdSenseSettings = null, $partnerId = null, $appliedLabelFrequencyCaps = null, $effectiveLabelFrequencyCaps = null, $appliedLabels = null, $effectiveAppliedLabels = null, $effectiveTeamIds = null, $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $isSharedByDistributor = null, $crossSellingDistributor = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null )
        public function __construct($id = null, $parentId = null, $hasChildren = null, $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, $adUnitSizes = null, $mobilePlatform = null, $explicitlyTargeted = null, $inheritedAdSenseSettings = null, $partnerId = null, $appliedLabelFrequencyCaps = null, $effectiveLabelFrequencyCaps = null, $appliedLabels = null, $effectiveAppliedLabels = null, $effectiveTeamIds = null, $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $isSharedByDistributor = null, $crossSellingDistributor = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null)
        {
            $this->id = $id;
            $this->parentId = $parentId;
            $this->hasChildren = $hasChildren;
            $this->parentPath = $parentPath;
            $this->name = $name;
            $this->description = $description;
            $this->targetWindow = $targetWindow;
            $this->status = $status;
            $this->adUnitCode = $adUnitCode;
            $this->adUnitSizes = $adUnitSizes;
            $this->mobilePlatform = $mobilePlatform;
            $this->explicitlyTargeted = $explicitlyTargeted;
            $this->inheritedAdSenseSettings = $inheritedAdSenseSettings;
            $this->partnerId = $partnerId;
            $this->appliedLabelFrequencyCaps = $appliedLabelFrequencyCaps;
            $this->effectiveLabelFrequencyCaps = $effectiveLabelFrequencyCaps;
            $this->appliedLabels = $appliedLabels;
            $this->effectiveAppliedLabels = $effectiveAppliedLabels;
            $this->effectiveTeamIds = $effectiveTeamIds;
            $this->appliedTeamIds = $appliedTeamIds;
            $this->lastModifiedDateTime = $lastModifiedDateTime;
            $this->smartSizeMode = $smartSizeMode;
            $this->refreshRate = $refreshRate;
            $this->isSharedByDistributor = $isSharedByDistributor;
            $this->crossSellingDistributor = $crossSellingDistributor;
            $this->externalSetTopBoxChannelId = $externalSetTopBoxChannelId;
            $this->isSetTopBoxEnabled = $isSetTopBoxEnabled;
        }

Same methods

AdUnit::__construct ( $id = null, $parentId = null, $hasChildren = null, $parentPath = null, $name = null, $description = null, $targetWindow = null, $status = null, $adUnitCode = null, $adUnitSizes = null, $targetPlatform = null, $mobilePlatform = null, $explicitlyTargeted = null, $inheritedAdSenseSettings = null, $partnerId = null, $appliedLabelFrequencyCaps = null, $effectiveLabelFrequencyCaps = null, $appliedLabels = null, $effectiveAppliedLabels = null, $effectiveTeamIds = null, $appliedTeamIds = null, $lastModifiedDateTime = null, $smartSizeMode = null, $refreshRate = null, $isSharedByDistributor = null, $crossSellingDistributor = null, $externalSetTopBoxChannelId = null, $isSetTopBoxEnabled = null )

Usage Example

Пример #1
0
 public function __construct($path, $sizes, $class, array $targets, $attrs)
 {
     parent::__construct($path, $sizes, empty($class) ? 'mobile_ad' : $class, $targets, $attrs);
 }
All Usage Examples Of AdUnit::__construct