PHP Class VanillaStatsPlugin, vanilla

Changes: 1.0 Official release 2.0.3 Fix http/https issue
Inheritance: extends Gdn_Plugin
Datei anzeigen Open project: vanilla/vanilla

Public Properties

Property Type Description
$AnalyticsServer mixed
$VanillaID string

Public Methods

Method Description
__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.

Protected Methods

Method Description
securityToken ( null | string $SetSecurityToken = null ) : string Get the security token.

Method Details

__construct() public method

Plugin setup.
public __construct ( )

gdn_dispatcher_beforeDispatch_handler() public method

Override the default dashboard page with the new stats one.

securityToken() protected method

Get the security token.
protected securityToken ( null | string $SetSecurityToken = null ) : string
$SetSecurityToken null | string
return string

securityTokenCallback() public method

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

settingsController_dashboardSummaries_create() public method

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() public method

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.

Property Details

$AnalyticsServer public_oe property

public mixed $AnalyticsServer
return mixed

$VanillaID public_oe property

public string $VanillaID
return string