protected function AcquiaLiftReportBase::getVariationLabel in Acquia Lift Connector 7
Generates the variation abbreviated label.
Parameters
$counter: Indicates the number for the variation.
$is_control: True if this is the control option.
4 calls to AcquiaLiftReportBase::getVariationLabel()
- AcquiaLiftReport::buildContextReport in plugins/
agent_types/ AcquiaLiftAgent.inc - Returns a render array representing the context report.
- AcquiaLiftReport::buildStabilityReport in plugins/
agent_types/ AcquiaLiftAgent.inc - Returns a render array representing the stability report for targeting features for the given dates.
- AcquiaLiftReportBase::buildConversionDetailReport in plugins/
agent_types/ AcquiaLiftAgent.inc - Builds the render array for the metrics portion of the report.
- AcquiaLiftReportBase::buildConversionSummaryReport in plugins/
agent_types/ AcquiaLiftAgent.inc - Builds the render array for the summary portion of the report.
File
- plugins/
agent_types/ AcquiaLiftAgent.inc, line 1284 - Provides an agent type for Acquia Lift
Class
- AcquiaLiftReportBase
- Base class providing report data loading functionality common to all Acquia Lift Reports.
Code
protected function getVariationLabel($counter, $is_control) {
if ($is_control) {
return t('Control');
}
else {
return t('V@num', array(
'@num' => $counter,
));
}
}