Inheritance: extends piwik\plugin\Report
 protected function init()
 {
     parent::init();
     $this->dimension = new LocalTime();
     $this->name = Piwik::translate('VisitTime_WidgetLocalTime');
     $this->documentation = Piwik::translate('VisitTime_WidgetLocalTimeDocumentation', array('<strong>', '</strong>'));
     $this->constantRowsCount = true;
     $this->order = 20;
     $this->widgetTitle = 'VisitTime_WidgetLocalTime';
 }
Example #2
0
 protected function init()
 {
     parent::init();
     $this->dimension = new DayOfTheWeek();
     $this->name = Piwik::translate('VisitTime_VisitsByDayOfWeek');
     $this->documentation = Piwik::translate('VisitTime_WidgetByDayOfWeekDocumentation');
     $this->constantRowsCount = true;
     $this->order = 25;
     $this->subcategoryId = 'VisitTime_SubmenuTimes';
 }
 protected function init()
 {
     parent::init();
     $this->dimension = new LocalTime();
     $this->name = Piwik::translate('VisitTime_LocalTime');
     $this->documentation = Piwik::translate('VisitTime_WidgetLocalTimeDocumentation', array('<strong>', '</strong>'));
     $this->constantRowsCount = true;
     $this->order = 15;
     $this->subcategoryId = 'VisitTime_SubmenuTimes';
 }