| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for Auth_Controller:
 Collaboration diagram for Auth_Controller:| Public Member Functions | |
| Auth_Controller (&$auth_obj, $login='login.php', $default='index.php', $accessList=array()) | |
| Constructor. | |
| setAutoRedirectBack ($flag=true) | |
| Enables auto redirection when login is done. | |
| redirectBack () | |
| Redirects Back to the calling page. | |
| redirectLogin () | |
| Redirects to the login Page if not authorised. | |
| start () | |
| Starts the Auth Procedure. | |
| isAuthorised () | |
| Checks is the user is logged on. | |
| checkAuth () | |
| Proxy call to auth. | |
| logout () | |
| Proxy call to auth. | |
| getUsername () | |
| Proxy call to auth. | |
| getStatus () | |
| Proxy call to auth. | |
| Data Fields | |
| $auth = null | |
| $login = null | |
| $default = null | |
| $autoRedirectBack = false | |
Definition at line 61 of file Controller.php.
| Auth_Controller::Auth_Controller | ( | & | $auth_obj, | 
| $login = 'login.php', | |||
| $default = 'index.php', | |||
| $accessList = array() | |||
| ) | 
Constructor.
| Auth | An auth instance | 
| string | The login page | 
| string | The default page to go to if return page is not set | 
| array | Some rules about which urls need to be sent to the login page | 
Definition at line 107 of file Controller.php.
| Auth_Controller::checkAuth | ( | ) | 
Proxy call to auth.
Definition at line 257 of file Controller.php.
| Auth_Controller::getStatus | ( | ) | 
Proxy call to auth.
Definition at line 293 of file Controller.php.
| Auth_Controller::getUsername | ( | ) | 
Proxy call to auth.
Definition at line 281 of file Controller.php.
| Auth_Controller::isAuthorised | ( | ) | 
Checks is the user is logged on.
Definition at line 245 of file Controller.php.
| Auth_Controller::logout | ( | ) | 
Proxy call to auth.
Definition at line 269 of file Controller.php.
| Auth_Controller::redirectBack | ( | ) | 
Redirects Back to the calling page.
Definition at line 145 of file Controller.php.
Referenced by start().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Auth_Controller::redirectLogin | ( | ) | 
Redirects to the login Page if not authorised.
put return page on the query or in auth
Definition at line 180 of file Controller.php.
Referenced by start().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Auth_Controller::setAutoRedirectBack | ( | $flag = true | ) | 
Enables auto redirection when login is done.
| bool | Sets the autoRedirectBack flag to this | 
Definition at line 132 of file Controller.php.
| Auth_Controller::start | ( | ) | 
Starts the Auth Procedure.
If the page requires login the user is redirected to the login page otherwise the Auth::start is called to initialize Auth
Definition at line 217 of file Controller.php.
References redirectBack(), and redirectLogin().
 Here is the call graph for this function:
 Here is the call graph for this function:| Auth_Controller::$auth = null | 
Definition at line 71 of file Controller.php.
| Auth_Controller::$autoRedirectBack = false | 
Definition at line 92 of file Controller.php.
| Auth_Controller::$default = null | 
Definition at line 84 of file Controller.php.
Referenced by Auth_Controller().
| Auth_Controller::$login = null | 
Definition at line 77 of file Controller.php.
Referenced by Auth_Controller().