Stats::__construct PHP Метод

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

public __construct ( $impressionsDelivered = null, $clicksDelivered = null, $videoCompletionsDelivered = null, $videoStartsDelivered = null )
        public function __construct($impressionsDelivered = null, $clicksDelivered = null, $videoCompletionsDelivered = null, $videoStartsDelivered = null)
        {
            $this->impressionsDelivered = $impressionsDelivered;
            $this->clicksDelivered = $clicksDelivered;
            $this->videoCompletionsDelivered = $videoCompletionsDelivered;
            $this->videoStartsDelivered = $videoStartsDelivered;
        }

Same methods

Stats::__construct ( $impressionsDelivered = null, $clicksDelivered = null, $videoCompletionsDelivered = null, $videoStartsDelivered = null, $viewableImpressionsDelivered = null )

Usage Example

 public function __construct($startDate = NULL, $endDate = NULL, $network = NULL, $clicks = NULL, $impressions = NULL, $cost = NULL, $averagePosition = NULL, $averageCpc = NULL, $averageCpm = NULL, $ctr = NULL, $conversions = NULL, $viewThroughConversions = NULL, $totalBudget = NULL, $StatsType = NULL)
 {
     parent::__construct();
     $this->startDate = $startDate;
     $this->endDate = $endDate;
     $this->network = $network;
     $this->clicks = $clicks;
     $this->impressions = $impressions;
     $this->cost = $cost;
     $this->averagePosition = $averagePosition;
     $this->averageCpc = $averageCpc;
     $this->averageCpm = $averageCpm;
     $this->ctr = $ctr;
     $this->conversions = $conversions;
     $this->viewThroughConversions = $viewThroughConversions;
     $this->totalBudget = $totalBudget;
     $this->StatsType = $StatsType;
 }
All Usage Examples Of Stats::__construct