Piwik\Plugins\Contents\Reports\Base::init PHP Метод

init() защищенный Метод

protected init ( )
    protected function init()
    {
        $this->categoryId = 'General_Actions';
        $this->subcategoryId = 'Contents_Contents';
    }

Usage Example

Пример #1
0
 protected function init()
 {
     parent::init();
     $this->name = Piwik::translate('Contents_ContentPiece');
     $this->dimension = null;
     // TODO $this->documentation = Piwik::translate('ContentsDocumentation');
     $this->dimension = new ContentPiece();
     $this->order = 36;
     $this->actionToLoadSubTables = 'getContentPieces';
     $this->metrics = array('nb_impressions', 'nb_interactions');
     $this->processedMetrics = array(new InteractionRate());
 }
All Usage Examples Of Piwik\Plugins\Contents\Reports\Base::init