コード例 #1
0
ファイル: GetBrowserType.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new BrowserFamily();
     $this->name = Piwik::translate('UserSettings_WidgetBrowserFamilies');
     $this->documentation = Piwik::translate('UserSettings_WidgetBrowserFamiliesDocumentation', '<br />');
     $this->order = 3;
     $this->widgetTitle = 'UserSettings_WidgetBrowserFamilies';
 }
コード例 #2
0
ファイル: GetConfiguration.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new Configuration();
     $this->name = Piwik::translate('UserSettings_WidgetGlobalVisitors');
     $this->documentation = Piwik::translate('UserSettings_WidgetGlobalVisitorsDocumentation', '<br />');
     $this->order = 7;
     $this->widgetTitle = 'UserSettings_WidgetGlobalVisitors';
 }
コード例 #3
0
ファイル: GetOSFamily.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new OperatingsystemFamily();
     $this->name = Piwik::translate('UserSettings_OperatingSystemFamily');
     $this->documentation = '';
     // TODO
     $this->order = 8;
     $this->widgetTitle = 'UserSettings_OperatingSystemFamily';
 }
コード例 #4
0
ファイル: GetBrowserVersion.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new BrowserVersion();
     $this->name = Piwik::translate('UserSettings_WidgetBrowserVersion');
     $this->documentation = '';
     // TODO
     $this->order = 2;
     $this->widgetTitle = 'UserSettings_WidgetBrowserVersion';
 }
コード例 #5
0
ファイル: GetLanguage.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new Language();
     $this->name = Piwik::translate('UserSettings_BrowserLanguage');
     $this->documentation = '';
     // TODO
     $this->order = 10;
     $this->widgetTitle = 'UserSettings_BrowserLanguage';
 }
コード例 #6
0
ファイル: GetWideScreen.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new TypeOfScreen();
     $this->name = Piwik::translate('UserSettings_WidgetWidescreen');
     $this->documentation = '';
     // TODO
     $this->order = 5;
     $this->widgetTitle = 'UserSettings_WidgetWidescreen';
 }
コード例 #7
0
ファイル: GetResolution.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new Resolution();
     $this->name = Piwik::translate('UserSettings_WidgetResolutions');
     $this->documentation = '';
     // TODO
     $this->order = 0;
     $this->widgetTitle = 'UserSettings_WidgetResolutions';
 }
コード例 #8
0
ファイル: GetMobileVsDesktop.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new MobilevsDesktop();
     $this->name = Piwik::translate('UserSettings_MobileVsDesktop');
     $this->documentation = '';
     // TODO
     $this->constantRowsCount = true;
     $this->order = 9;
     $this->widgetTitle = 'UserSettings_MobileVsDesktop';
 }
コード例 #9
0
ファイル: GetPlugin.php プロジェクト: a4tunado/piwik
 protected function init()
 {
     parent::init();
     $this->dimension = new Plugin();
     $this->name = Piwik::translate('UserSettings_WidgetPlugins');
     $this->documentation = Piwik::translate('UserSettings_WidgetPluginsDocumentation', '<br />');
     $this->metrics = array('nb_visits', 'nb_visits_percentage');
     $this->constantRowsCount = true;
     $this->processedMetrics = array();
     $this->order = 4;
     $this->widgetTitle = 'UserSettings_WidgetPlugins';
 }