init() protected méthode

protected init ( )
 protected function init()
 {
     parent::init();
     $this->dimension = new CustomVariableValue();
     $this->name = Piwik::translate('CustomVariables_CustomVariables');
     $this->documentation = Piwik::translate('CustomVariables_CustomVariablesReportDocumentation', array('<br />', '<a href="http://piwik.org/docs/custom-variables/" rel="noreferrer"  target="_blank">', '</a>'));
     $this->isSubtableReport = true;
     $this->order = 15;
 }
Exemple #2
0
 protected function init()
 {
     parent::init();
     $this->dimension = new CustomVariableName();
     $this->name = Piwik::translate('CustomVariables_CustomVariables');
     $this->documentation = Piwik::translate('CustomVariables_CustomVariablesReportDocumentation', array('<br />', '<a href="http://piwik.org/docs/custom-variables/" rel="noreferrer"  target="_blank">', '</a>'));
     $this->actionToLoadSubTables = 'getCustomVariablesValuesFromNameId';
     $this->order = 10;
     $this->subcategoryId = 'CustomVariables_CustomVariables';
     $this->hasGoalMetrics = true;
 }