PHP 클래스 VanillaStatsPlugin, vanilla

Changes: 1.0 Official release 2.0.3 Fix http/https issue
상속: extends Gdn_Plugin
파일 보기 프로젝트 열기: vanilla/vanilla

공개 프로퍼티들

프로퍼티 타입 설명
$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