PHP 클래스 SpoofPlugin, addons

상속: implements Gdn_IPlugin
파일 보기 프로젝트 열기: vanilla/addons

공개 메소드들

메소드 설명
Base_GetAppSettingsMenuItems_Handler ( $Sender ) Add the spoof admin screen to the dashboard menu.
EntryController_Spoof_Create ( $Sender ) Creates a spoof login page.
ManageController_SiteListOptions_Handler ( $Sender ) Adds a "Spoof" link to the site management list.
ProfileController_AfterAddSideMenu_Handler ( $Sender )
Setup ( )
UserController_AutoSpoof_Create ( $Sender ) Validates the current user's permissions & transientkey and then spoofs the userid passed as the first arg and redirects to profile.
UserController_Spoof_Create ( $Sender ) Admin screen for spoofing a user.
UserController_UserListOptions_Handler ( $Sender ) Adds a "Spoof" link to the user management list.

비공개 메소드들

메소드 설명
_SpoofMethod ( $Sender ) Standard method for authenticating an admin and allowing them to spoof a user.

메소드 상세

Base_GetAppSettingsMenuItems_Handler() 공개 메소드

Add the spoof admin screen to the dashboard menu.

EntryController_Spoof_Create() 공개 메소드

Creates a spoof login page.
public EntryController_Spoof_Create ( $Sender )

ManageController_SiteListOptions_Handler() 공개 메소드

Adds a "Spoof" link to the site management list.

ProfileController_AfterAddSideMenu_Handler() 공개 메소드

Setup() 공개 메소드

public Setup ( )

UserController_AutoSpoof_Create() 공개 메소드

Validates the current user's permissions & transientkey and then spoofs the userid passed as the first arg and redirects to profile.
public UserController_AutoSpoof_Create ( $Sender )

UserController_Spoof_Create() 공개 메소드

Admin screen for spoofing a user.
public UserController_Spoof_Create ( $Sender )

UserController_UserListOptions_Handler() 공개 메소드

Adds a "Spoof" link to the user management list.