HandlerValidatorRoles Class Reference

Class to represent a page validation check. More...

Inheritance diagram for HandlerValidatorRoles:

HandlerValidator List of all members.

Public Member Functions

 HandlerValidatorRoles (&$handler, $redirectLogin=true, $message=null, $additionalArgs=array(), $roles, $all=false)
 isValid ()

Public Attributes


Detailed Description

Class to represent a page validation check.

Definition at line 16 of file HandlerValidatorRoles.inc.php.

Member Function Documentation

HandlerValidatorRoles.HandlerValidatorRoles ( &$  handler,
redirectLogin = true,
message = null,
additionalArgs = array(),
all = false 


$handler Handler the associated form
$redirectToLogin bool Send to login screen on validation fail if true
$message string the error message for validation failures (i18n key)
$additionalArgs Array URL arguments to include in request
$roles array of role id's
$all bool flag for whether all roles must exist or just 1

Definition at line 30 of file HandlerValidatorRoles.inc.php.

References $all, and $roles.

HandlerValidatorRoles.isValid (  ) 

Check if field value is valid. Value is valid if it is empty and optional or validated by user-supplied function.


Definition at line 41 of file HandlerValidatorRoles.inc.php.

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

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