PHP 클래스 Piwik\Plugins\UsersManager\UsersManager

상속: extends Piwik\Plugin
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
checkPassword ( $password )
checkPasswordHash ( string $passwordHash, string $exceptionMessage ) Checks the password hash length. Used as a sanity check.
deleteSite ( $idSite ) Delete user preferences associated with a particular site
getClientSideTranslationKeys ( &$translationKeys )
getCronArchiveTokenAuth ( &$tokens )
getJsFiles ( &$jsFiles ) Return list of plug-in specific JavaScript files to be imported by the asset manager
getPasswordHash ( $password )
getStylesheetFiles ( &$stylesheets ) Get CSS files
isValidPasswordString ( $input ) : boolean Returns true if the password is complex enough (at least 6 characters and max 26 characters)
onPlatformInitialized ( )
recordAdminUsersInCache ( &$attributes, $idSite ) : void Hooks when a website tracker cache is flushed (website/user updated, cache deleted, or empty cache) Will record in the tracker config file the list of Admin token_auth for this website. This will be used when the Tracking API is used with setIp(), setForceDateTime(), setVisitorId(), etc.
registerEvents ( )

메소드 상세

checkPassword() 공개 정적인 메소드

public static checkPassword ( $password )

checkPasswordHash() 공개 정적인 메소드

Checks the password hash length. Used as a sanity check.
public static checkPasswordHash ( string $passwordHash, string $exceptionMessage )
$passwordHash string The password hash to check.
$exceptionMessage string Message of the exception thrown.

deleteSite() 공개 메소드

Delete user preferences associated with a particular site
public deleteSite ( $idSite )

getClientSideTranslationKeys() 공개 메소드

public getClientSideTranslationKeys ( &$translationKeys )

getCronArchiveTokenAuth() 공개 메소드

public getCronArchiveTokenAuth ( &$tokens )

getJsFiles() 공개 메소드

Return list of plug-in specific JavaScript files to be imported by the asset manager
또한 보기: Piwik\AssetManager
public getJsFiles ( &$jsFiles )

getPasswordHash() 공개 정적인 메소드

public static getPasswordHash ( $password )

getStylesheetFiles() 공개 메소드

Get CSS files
public getStylesheetFiles ( &$stylesheets )

isValidPasswordString() 공개 정적인 메소드

Returns true if the password is complex enough (at least 6 characters and max 26 characters)
public static isValidPasswordString ( $input ) : boolean
$input string
리턴 boolean

onPlatformInitialized() 공개 메소드

recordAdminUsersInCache() 공개 메소드

Hooks when a website tracker cache is flushed (website/user updated, cache deleted, or empty cache) Will record in the tracker config file the list of Admin token_auth for this website. This will be used when the Tracking API is used with setIp(), setForceDateTime(), setVisitorId(), etc.
public recordAdminUsersInCache ( &$attributes, $idSite ) : void
$attributes
$idSite
리턴 void

registerEvents() 공개 메소드

또한 보기: Piwik\Plugin::registerEvents
public registerEvents ( )