Xataface Switch User Module 0.1
Allow fast user switching for administrators of Xataface applications
Public Member Functions
actions_switch_user_status Class Reference

AJAX Action to get the switch user status. If the current user has permission to switch users, this will return a single JSON object with two properties: More...

Public Member Functions

 handle ($params)

Detailed Description

AJAX Action to get the switch user status. If the current user has permission to switch users, this will return a single JSON object with two properties:

E.g. { username: shannah, isOriginal: false }

This action is primarily used by the switch_user.js library to determine what functionality should be provided for the user.

Parameters

No parameters necessary.

See also:
js/xataface/modules/switch_user/switch_user.js

Definition at line 49 of file switch_user_status.php.


Member Function Documentation

handle ( params)

Definition at line 51 of file switch_user_status.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions