ILIAS
Release_4_2_x_branch Revision 61807
|
ILIAS base class perform basic setup: init database handler, load configuration file, init user authentification & error handler, load object type definitions. More...
Public Member Functions | |
ILIAS ($a_client_id=0) | |
Constructor setup ILIAS global object public. | |
_ILIAS () | |
Destructor private. | |
setAuthError ($a_error_obj) | |
set authentication error (should be set after Auth->start() via $ilias->setAuthError($ilErr->getLastError()); | |
& | getAuthError () |
get (last) authentication error object | |
getSetting ($a_keyword, $a_default_value=false) | |
read one value from settingstable public | |
deleteSetting ($a_keyword) | |
delete one value from settingstable public | |
getAllSettings () | |
read all values from settingstable public | |
setSetting ($a_key, $a_val) | |
write one value to db-table settings public | |
getFirstStyle ($a_skin) | |
get first available stylesheet from skindirectory | |
checkTemplate ($a_name) | |
check if a template name exists on the server | |
& | getCurrentUser () |
get current user account | |
getClientId () | |
raiseError ($a_msg, $a_err_obj) | |
wrapper for downward compability |
Data Fields | |
$INI_FILE | |
$dsn = "" | |
$db | |
$tplPath = "./templates/" | |
$account | |
$auth_params = array() | |
$auth | |
$ini = array() | |
$error_obj | |
$obj_factory | |
$styles | |
$skins |
ILIAS base class perform basic setup: init database handler, load configuration file, init user authentification & error handler, load object type definitions.
Definition at line 16 of file class.ilias.php.
ILIAS::_ILIAS | ( | ) |
Destructor private.
Definition at line 130 of file class.ilias.php.
ILIAS::checkTemplate | ( | $a_name | ) |
check if a template name exists on the server
string | template name |
Definition at line 240 of file class.ilias.php.
ILIAS::deleteSetting | ( | $a_keyword | ) |
delete one value from settingstable public
string | keyword |
Definition at line 181 of file class.ilias.php.
References $ilSetting.
ILIAS::getAllSettings | ( | ) |
read all values from settingstable public
Definition at line 194 of file class.ilias.php.
References $ilSetting.
& ILIAS::getAuthError | ( | ) |
get (last) authentication error object
Definition at line 155 of file class.ilias.php.
ILIAS::getClientId | ( | ) |
& ILIAS::getCurrentUser | ( | ) |
ILIAS::getFirstStyle | ( | $a_skin | ) |
get first available stylesheet from skindirectory
string |
Definition at line 224 of file class.ilias.php.
ILIAS::getSetting | ( | $a_keyword, | |
$a_default_value = false |
|||
) |
read one value from settingstable public
string | keyword |
string | default_value This value is returned, when no setting has been found for the keyword. |
Definition at line 168 of file class.ilias.php.
References $ilSetting.
ILIAS::ILIAS | ( | $a_client_id = 0 | ) |
Constructor setup ILIAS global object public.
Definition at line 109 of file class.ilias.php.
References $ilDB, $ilErr, and $ilIliasIniFile.
ILIAS::raiseError | ( | $a_msg, | |
$a_err_obj | |||
) |
ILIAS::setAuthError | ( | $a_error_obj | ) |
set authentication error (should be set after Auth->start() via $ilias->setAuthError($ilErr->getLastError());
object | $a_error_obj | pear error object |
Definition at line 147 of file class.ilias.php.
ILIAS::setSetting | ( | $a_key, | |
$a_val | |||
) |
write one value to db-table settings public
string | keyword |
string | value |
TODO: change to replace-statement
Definition at line 210 of file class.ilias.php.
References $ilSetting.
ILIAS::$account |
Definition at line 50 of file class.ilias.php.
Referenced by getCurrentUser().
ILIAS::$auth |
Definition at line 64 of file class.ilias.php.
ILIAS::$auth_params = array() |
Definition at line 57 of file class.ilias.php.
ILIAS::$db |
Definition at line 36 of file class.ilias.php.
ILIAS::$dsn = "" |
Definition at line 29 of file class.ilias.php.
ILIAS::$error_obj |
Definition at line 78 of file class.ilias.php.
ILIAS::$ini = array() |
Definition at line 71 of file class.ilias.php.
ILIAS::$INI_FILE |
Definition at line 22 of file class.ilias.php.
ILIAS::$obj_factory |
Definition at line 86 of file class.ilias.php.
ILIAS::$skins |
Definition at line 102 of file class.ilias.php.
ILIAS::$styles |
Definition at line 94 of file class.ilias.php.
ILIAS::$tplPath = "./templates/" |
Definition at line 43 of file class.ilias.php.