Stud.IP
6.0
|
Functions | |
CliErrorHandler ($errno, $errstr, $errfile, $errline) | |
parse_msg_to_clean_text ($long_msg, $separator="§") | |
Variables | |
$STUDIP_BASE_PATH = realpath( __DIR__ . '/..') | |
$include_path = get_include_path() | |
$GLOBAL_CACHING_ENABLE = $GLOBALS['CACHING_ENABLE'] | |
$CACHING_ENABLE = false | |
$faked_root = new User() | |
$faked_root | user_id = 'cli' |
$faked_root | username = 'cli' |
$faked_root | perms = 'root' |
$user = new Seminar_User($faked_root) | |
$perm = new Seminar_Perm() | |
CliErrorHandler | ( | $errno, | |
$errstr, | |||
$errfile, | |||
$errline | |||
) |
sets up a faked Stud.IP environment with usable $auth, $user and $perm objects for a faked 'root' user, sets custom error handler wich writes to STDERR
parse_msg_to_clean_text | ( | $long_msg, | |
$separator = "§" |
|||
) |
$CACHING_ENABLE = false |
$faked_root = new User() |
$GLOBAL_CACHING_ENABLE = $GLOBALS['CACHING_ENABLE'] |
$include_path = get_include_path() |
$perm = new Seminar_Perm() |
global $STUDIP_BASE_PATH = realpath( __DIR__ . '/..') |
$user = new Seminar_User($faked_root) |
$faked_root perms = 'root' |
$faked_root user_id = 'cli' |
$faked_root username = 'cli' |