本文整理匯總了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;
}