ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Handles cron (cli) request. More...
Public Member Functions | |
__construct ($a_client_id, $a_login, $a_password) | |
Constructor. More... | |
initIlias () | |
Init ILIAS. More... | |
authenticate () | |
Start authentication. More... | |
logout () | |
Closes the current auth session. More... | |
Private Attributes | |
$client = '' | |
$username = '' | |
$password = '' | |
Handles cron (cli) request.
Definition at line 11 of file class.ilCronStartUp.php.
ilCronStartUp::__construct | ( | $a_client_id, | |
$a_login, | |||
$a_password | |||
) |
Constructor.
Definition at line 20 of file class.ilCronStartUp.php.
ilCronStartUp::authenticate | ( | ) |
Start authentication.
ilCronException | if authentication failed. |
Definition at line 50 of file class.ilCronStartUp.php.
References $GLOBALS, ilAuthFrontendFactory\CONTEXT_CLI, ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
ilCronStartUp::initIlias | ( | ) |
Init ILIAS.
Definition at line 30 of file class.ilCronStartUp.php.
References $_GET, $client, ilContext\CONTEXT_CRON, and ilContext\init().
ilCronStartUp::logout | ( | ) |
Closes the current auth session.
Definition at line 93 of file class.ilCronStartUp.php.
References $GLOBALS, ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
|
private |
Definition at line 13 of file class.ilCronStartUp.php.
Referenced by initIlias().
|
private |
Definition at line 15 of file class.ilCronStartUp.php.
|
private |
Definition at line 14 of file class.ilCronStartUp.php.