PHP Класс SpoofPlugin, addons

Наследование: implements Gdn_IPlugin
Показать файл Открыть проект

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

Метод Описание
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.