PHP Класс VanillaStatsPlugin, vanilla

Changes: 1.0 Official release 2.0.3 Fix http/https issue
Наследование: extends Gdn_Plugin
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$AnalyticsServer mixed
$VanillaID string

Открытые методы

Метод Описание
__construct ( ) Plugin setup.
gdn_dispatcher_beforeDispatch_handler ( $Sender ) Override the default dashboard page with the new stats one.
securityTokenCallback ( $JsonResponse, $RawResponse )
settingsController_dashboardSummaries_create ( $Sender ) A view containing most active discussions & users during a specific time period. This gets ajaxed into the dashboard homepage as date ranges are defined.
settingsController_home_create ( SettingsController $sender ) Override the index of the dashboard's settings controller in the to render new statistics.

Защищенные методы

Метод Описание
securityToken ( null | string $SetSecurityToken = null ) : string Get the security token.

Описание методов

__construct() публичный Метод

Plugin setup.
public __construct ( )

gdn_dispatcher_beforeDispatch_handler() публичный Метод

Override the default dashboard page with the new stats one.

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

Get the security token.
protected securityToken ( null | string $SetSecurityToken = null ) : string
$SetSecurityToken null | string
Результат string

securityTokenCallback() публичный Метод

public securityTokenCallback ( $JsonResponse, $RawResponse )
$JsonResponse
$RawResponse

settingsController_dashboardSummaries_create() публичный Метод

A view containing most active discussions & users during a specific time period. This gets ajaxed into the dashboard homepage as date ranges are defined.

settingsController_home_create() публичный Метод

Override the index of the dashboard's settings controller in the to render new statistics.
public settingsController_home_create ( SettingsController $sender )
$sender SettingsController Instance of the dashboard's settings controller.

Описание свойств

$AnalyticsServer публичное свойство

public mixed $AnalyticsServer
Результат mixed

$VanillaID публичное свойство

public string $VanillaID
Результат string