PeopleHandler Class Reference
[Pages_manager]

Handle requests for people management functions. More...

Inheritance diagram for PeopleHandler:

ManagerHandler Handler List of all members.

Public Member Functions

 createUser ()
 disableUser ($args)
 editUser ($args=array())
 enableUser ($args)
 enroll ($args)
 enrollSearch ($args)
 enrollSync ($args)
 enrollSyncSelect ($args)
 mergeUsers ($args)
 people ($args)
 PeopleHandler ()
 removeUser ($args)
 suggestUsername ()
 unEnroll ($args)
 updateUser ()
 userProfile ($args)

Detailed Description

Handle requests for people management functions.

Definition at line 19 of file PeopleHandler.inc.php.


Member Function Documentation

PeopleHandler.createUser (  ) 

Display form to create a new user.

Definition at line 382 of file PeopleHandler.inc.php.

References editUser().

PeopleHandler.disableUser ( args  ) 

Disable a user's account.

Parameters:
$args array the ID of the user to disable

Definition at line 561 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), people(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

PeopleHandler.editUser ( args = array()  ) 

Display form to create/edit a user profile.

Parameters:
$args array optional, if set the first parameter is the ID of the user to edit

Definition at line 390 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), people(), ManagerHandler.setupTemplate(), and Request.url().

Referenced by createUser().

PeopleHandler.enableUser ( args  ) 

Enable a user's account.

Parameters:
$args array the ID of the user to enable

Definition at line 596 of file PeopleHandler.inc.php.

References people(), Request.redirect(), and ManagerHandler.setupTemplate().

PeopleHandler.enroll ( args  ) 

Enroll a user in a role.

Definition at line 222 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), Validation.isConferenceManager(), Validation.isSiteAdmin(), people(), and Request.redirect().

PeopleHandler.enrollSearch ( args  ) 

Search for users to enroll in a specific role.

Parameters:
$args array first parameter is the selected role ID

Definition at line 153 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), people(), and ManagerHandler.setupTemplate().

PeopleHandler.enrollSync ( args  ) 

Synchronize user enrollment with another conference.

Definition at line 338 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), people(), and Request.redirect().

Referenced by enrollSyncSelect().

PeopleHandler.enrollSyncSelect ( args  ) 

Show form to synchronize user enrollment with another conference.

Definition at line 305 of file PeopleHandler.inc.php.

References enrollSync(), Request.getConference(), Request.getSchedConf(), people(), Request.redirect(), and ManagerHandler.setupTemplate().

PeopleHandler.mergeUsers ( args  ) 

Allow the Conference Manager to merge user accounts, including attributed papers etc.

Definition at line 431 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), Request.getSchedConf(), UserAction.mergeUsers(), people(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

PeopleHandler.people ( args  ) 

Display list of people in the selected role.

Parameters:
$args array first parameter is the role ID to display

Definition at line 31 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

Referenced by disableUser(), editUser(), enableUser(), enroll(), enrollSearch(), enrollSync(), enrollSyncSelect(), mergeUsers(), removeUser(), unEnroll(), updateUser(), and userProfile().

PeopleHandler.PeopleHandler (  ) 

Constructor

Definition at line 23 of file PeopleHandler.inc.php.

PeopleHandler.removeUser ( args  ) 

Remove a user from all roles for the current conference.

Parameters:
$args array the ID of the user to remove

Definition at line 619 of file PeopleHandler.inc.php.

References Request.getConference(), people(), Request.redirect(), and ManagerHandler.setupTemplate().

PeopleHandler.suggestUsername (  ) 

Get a suggested username, making sure it's not already used by the system. (Poor-man's AJAX.)

Definition at line 370 of file PeopleHandler.inc.php.

References Validation.suggestUsername().

PeopleHandler.unEnroll ( args  ) 

Unenroll a user from a role.

Definition at line 285 of file PeopleHandler.inc.php.

References Request.getConference(), Validation.isConferenceManager(), Validation.isSiteAdmin(), people(), and Request.redirect().

PeopleHandler.updateUser (  ) 

Save changes to a user profile.

Definition at line 638 of file PeopleHandler.inc.php.

References Validation.canAdminister(), Request.getConference(), people(), Request.redirect(), ManagerHandler.setupTemplate(), and Request.url().

PeopleHandler.userProfile ( args  ) 

Display a user's profile.

Parameters:
$args array first parameter is the ID or username of the user to display

Definition at line 694 of file PeopleHandler.inc.php.

References Request.getConference(), Request.getSchedConf(), people(), ManagerHandler.setupTemplate(), and Request.url().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7