|
ILIAS
Release_4_2_x_branch Revision 61807
|
ILIAS Initialisation Utility Class perform basic setup: init database handler, load configuration file, init user authentification & error handler, load object type definitions. More...
Collaboration diagram for ilInitialisation:Public Member Functions | |
| removeUnsafeCharacters () | |
| Remove unsafe characters from GET. | |
| returnBeforeAuth ($a_flag=null) | |
| requireCommonIncludes () | |
| get common include code files | |
| includePhp5Compliance () | |
| This is a hack for CAS authentication. | |
| initIliasIniFile () | |
| This method provides a global instance of class ilIniFile for the ilias.ini.php file in variable $ilIliasIniFile. | |
| buildHTTPPath () | |
| builds http path | |
| determineClient () | |
| This method determines the current client and sets the constant CLIENT_ID. | |
| initClientIniFile () | |
| This method provides a global instance of class ilIniFile for the client.ini.php file in variable $ilClientIniFile. | |
| handleMaintenanceMode () | |
| handle maintenance mode | |
| initDatabase () | |
| initialise database object $ilDB | |
| initEventHandling () | |
| initialise event handler ilAppEventHandler | |
| setSessionHandler () | |
| set session handler to db | |
| setCookieParams () | |
| set session cookie params for path, domain, etc. | |
| initSettings () | |
| initialise $ilSettings object and define constants | |
| determineScriptAndUpDir () | |
| determine current script and path to main ILIAS directory | |
| initStyle () | |
| provide $styleDefinition object | |
| handleStyle () | |
| set skin and style via $_GET parameters "skin" and "style" | |
| initUserAccount () | |
| initLocale () | |
| Init Locale. | |
| checkUserClientIP () | |
| checkUserAgreement () | |
| goToPublicSection () | |
| go to public section | |
| goToLogin ($a_auth_stat="") | |
| go to login | |
| initLanguage () | |
| $lng initialisation | |
| initAccessHandling () | |
| $ilAccess and $rbac... | |
| initFeed () | |
| Initialisation for feed.php. | |
| initLog () | |
| initILIASObject () | |
Data Fields | |
| $script = "" | |
Private Attributes | |
| $return_before_auth = false | |
ILIAS Initialisation Utility Class perform basic setup: init database handler, load configuration file, init user authentification & error handler, load object type definitions.
Definition at line 19 of file class.ilInitialisation.php.
| ilInitialisation::buildHTTPPath | ( | ) |
builds http path
this is also used by other classes now, e.g. in ilSoapAuthenticationCAS.php
Definition at line 266 of file class.ilInitialisation.php.
References $dir, $dirs, $path, ILIAS_MODULE, and ilUtil\removeTrailingPathSeparators().
Referenced by initSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInitialisation::checkUserAgreement | ( | ) |
Definition at line 764 of file class.ilInitialisation.php.
References $_GET, $_POST, and ilUtil\redirect().
Here is the call graph for this function:| ilInitialisation::checkUserClientIP | ( | ) |
Definition at line 742 of file class.ilInitialisation.php.
References $ilLog, and ilUtil\redirect().
Here is the call graph for this function:| ilInitialisation::determineClient | ( | ) |
This method determines the current client and sets the constant CLIENT_ID.
Definition at line 327 of file class.ilInitialisation.php.
References $_COOKIE, $_GET, $client_id, $ilIliasIniFile, ilUtil\setCookie(), and ilUtil\stripSlashes().
Referenced by initFeed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInitialisation::determineScriptAndUpDir | ( | ) |
determine current script and path to main ILIAS directory
Definition at line 602 of file class.ilInitialisation.php.
| ilInitialisation::goToLogin | ( | $a_auth_stat = "" | ) |
go to login
Definition at line 878 of file class.ilInitialisation.php.
References $_COOKIE, $_GET, $script, and exit.
Referenced by goToPublicSection().
Here is the caller graph for this function:| ilInitialisation::goToPublicSection | ( | ) |
go to public section
Definition at line 797 of file class.ilInitialisation.php.
References $_GET, $_POST, $script, ilStartUpGUI\_checkGoto(), ilAuthUtils\_initAuth(), exit, goToLogin(), initUserAccount(), and setSessionHandler().
Here is the call graph for this function:| ilInitialisation::handleMaintenanceMode | ( | ) |
handle maintenance mode
Definition at line 441 of file class.ilInitialisation.php.
References ilUtil\redirect().
Referenced by initFeed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInitialisation::handleStyle | ( | ) |
set skin and style via $_GET parameters "skin" and "style"
Definition at line 656 of file class.ilInitialisation.php.
References $_GET, $_SESSION, and ilObjStyleSettings\_lookupActivatedStyle().
Here is the call graph for this function:| ilInitialisation::includePhp5Compliance | ( | ) |
This is a hack for CAS authentication.
Since the phpCAS lib ships with its own compliance functions.
Definition at line 164 of file class.ilInitialisation.php.
References ilAuthFactory\CONTEXT_CAS, and ilAuthFactory\getContext().
Here is the call graph for this function:| ilInitialisation::initAccessHandling | ( | ) |
$ilAccess and $rbac...
initialisation
Definition at line 984 of file class.ilInitialisation.php.
References $GLOBALS, $ilBench, and ilRbacSystem\getInstance().
Here is the call graph for this function:| ilInitialisation::initClientIniFile | ( | ) |
This method provides a global instance of class ilIniFile for the client.ini.php file in variable $ilClientIniFile.
It initializes a lot of constants accordingly to the settings in the client.ini.php file.
Preconditions: ILIAS_WEB_DIR and CLIENT_ID must be set.
Definition at line 376 of file class.ilInitialisation.php.
References $GLOBALS, ILIAS_ABSOLUTE_PATH, and ILIAS_WEB_DIR.
Referenced by initFeed().
Here is the caller graph for this function:| ilInitialisation::initDatabase | ( | ) |
initialise database object $ilDB
Definition at line 464 of file class.ilInitialisation.php.
References $GLOBALS, $ilDB, and ilDBWrapperFactory\getWrapper().
Referenced by initFeed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInitialisation::initEventHandling | ( | ) |
initialise event handler ilAppEventHandler
Definition at line 480 of file class.ilInitialisation.php.
References $GLOBALS.
Referenced by initFeed().
Here is the caller graph for this function:| ilInitialisation::initFeed | ( | ) |
Initialisation for feed.php.
Definition at line 1510 of file class.ilInitialisation.php.
References $_COOKIE, $GLOBALS, $ilBench, $ilCtrl, $ilDB, $ilErr, $ilIliasIniFile, $ilLog, $ilSetting, $lng, determineClient(), exit, handleMaintenanceMode(), initClientIniFile(), initDatabase(), initEventHandling(), initIliasIniFile(), initSettings(), PEAR_ERROR_CALLBACK, removeUnsafeCharacters(), requireCommonIncludes(), and ilUtil\setCookie().
Here is the call graph for this function:| ilInitialisation::initIliasIniFile | ( | ) |
This method provides a global instance of class ilIniFile for the ilias.ini.php file in variable $ilIliasIniFile.
It initializes a lot of constants accordingly to the settings in the ilias.ini.php file.
Definition at line 191 of file class.ilInitialisation.php.
References $GLOBALS, and $ilIliasIniFile.
Referenced by initFeed().
Here is the caller graph for this function:| ilInitialisation::initILIASObject | ( | ) |
Definition at line 1588 of file class.ilInitialisation.php.
| ilInitialisation::initLanguage | ( | ) |
$lng initialisation
Definition at line 917 of file class.ilInitialisation.php.
References $_GET, $_POST, $_SESSION, $GLOBALS, $ilBench, $ilSetting, $lng, ilLanguage\getInstalledLanguages(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilInitialisation::initLocale | ( | ) |
Init Locale.
Definition at line 714 of file class.ilInitialisation.php.
References $GLOBALS, and $ilSetting.
| ilInitialisation::initLog | ( | ) |
| ilInitialisation::initSettings | ( | ) |
initialise $ilSettings object and define constants
Definition at line 566 of file class.ilInitialisation.php.
References $GLOBALS, $ilSetting, ilPaymentSettings\_isPaymentEnabled(), and buildHTTPPath().
Referenced by initFeed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInitialisation::initStyle | ( | ) |
provide $styleDefinition object
Definition at line 629 of file class.ilInitialisation.php.
References $GLOBALS, $ilBench, ilPluginAdmin\getPluginObject(), and IL_COMP_SERVICE.
Here is the call graph for this function:| ilInitialisation::initUserAccount | ( | ) |
Definition at line 682 of file class.ilInitialisation.php.
References $_SESSION, and $ilLog.
Referenced by goToPublicSection().
Here is the caller graph for this function:| ilInitialisation::removeUnsafeCharacters | ( | ) |
Remove unsafe characters from GET.
Definition at line 27 of file class.ilInitialisation.php.
References $_GET.
Referenced by initFeed().
Here is the caller graph for this function:| ilInitialisation::requireCommonIncludes | ( | ) |
get common include code files
Definition at line 61 of file class.ilInitialisation.php.
References $GLOBALS, $ilBench, and ilUtil\StopWatch().
Referenced by initFeed().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInitialisation::returnBeforeAuth | ( | $a_flag = null | ) |
Definition at line 47 of file class.ilInitialisation.php.
References $return_before_auth.
| ilInitialisation::setCookieParams | ( | ) |
set session cookie params for path, domain, etc.
Definition at line 511 of file class.ilInitialisation.php.
References $GLOBALS, ilAuthFactory\CONTEXT_HTTP, ilAuthFactory\getContext(), and IL_COOKIE_PATH.
Here is the call graph for this function:| ilInitialisation::setSessionHandler | ( | ) |
set session handler to db
Definition at line 493 of file class.ilInitialisation.php.
References $ilErr, and db_set_save_handler().
Referenced by goToPublicSection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 21 of file class.ilInitialisation.php.
Referenced by returnBeforeAuth().
| ilInitialisation::$script = "" |
Definition at line 22 of file class.ilInitialisation.php.
Referenced by goToLogin(), and goToPublicSection().