本文整理汇总了PHP中Stats::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Stats::__construct方法的具体用法?PHP Stats::__construct怎么用?PHP Stats::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Stats
的用法示例。
在下文中一共展示了Stats::__construct方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
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;
}
示例2: __construct
public function __construct()
{
$this->api_vars["stat"] = $this->stat;
parent::__construct();
}
示例3: __construct
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, $conversionRate = NULL, $costPerConversion = NULL, $conversionsManyPerClick = NULL, $conversionRateManyPerClick = NULL, $costPerConversionManyPerClick = NULL, $viewThroughConversions = NULL, $totalConvValue = NULL, $valuePerConv = NULL, $valuePerConvManyPerClick = NULL, $invalidClicks = NULL, $invalidClickRate = NULL, $numCalls = NULL, $numMissedCalls = NULL, $numReceivedCalls = NULL, $callDurationSecs = NULL, $avgCallDurationSecs = NULL, $StatsType = NULL)
{
if (get_parent_class('CampaignStats')) {
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->conversionRate = $conversionRate;
$this->costPerConversion = $costPerConversion;
$this->conversionsManyPerClick = $conversionsManyPerClick;
$this->conversionRateManyPerClick = $conversionRateManyPerClick;
$this->costPerConversionManyPerClick = $costPerConversionManyPerClick;
$this->viewThroughConversions = $viewThroughConversions;
$this->totalConvValue = $totalConvValue;
$this->valuePerConv = $valuePerConv;
$this->valuePerConvManyPerClick = $valuePerConvManyPerClick;
$this->invalidClicks = $invalidClicks;
$this->invalidClickRate = $invalidClickRate;
$this->numCalls = $numCalls;
$this->numMissedCalls = $numMissedCalls;
$this->numReceivedCalls = $numReceivedCalls;
$this->callDurationSecs = $callDurationSecs;
$this->avgCallDurationSecs = $avgCallDurationSecs;
$this->StatsType = $StatsType;
}
示例4: __construct
public function __construct($percentServed = NULL, $startDate = NULL, $endDate = NULL, $network = NULL, $clicks = NULL, $impressions = NULL, $cost = NULL, $averagePosition = NULL, $averageCpc = NULL, $averageCpm = NULL, $ctr = NULL, $conversions = NULL, $viewThroughConversions = NULL, $StatsType = NULL)
{
if (get_parent_class('AdStats')) {
parent::__construct();
}
$this->percentServed = $percentServed;
$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->StatsType = $StatsType;
}