|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilWebAccessChecker. More...
Collaboration diagram for ilWebAccessChecker:Public Member Functions | |
| __construct ($path, ilWACCookieInterface $ilWACCookieInterface=null) | |
| ilWebAccessChecker constructor. More... | |
| check () | |
| initILIAS () | |
| isChecked () | |
| setChecked ($checked) | |
| getPathObject () | |
| setPathObject ($path_object) | |
| getDisposition () | |
| setDisposition ($disposition) | |
| getOverrideMimetype () | |
| setOverrideMimetype ($override_mimetype) | |
| isInitialized () | |
| setInitialized ($initialized) | |
| isSendStatusCode () | |
| setSendStatusCode ($send_status_code) | |
| isRevalidateFolderTokens () | |
| setRevalidateFolderTokens ($revalidate_folder_tokens) | |
| getCookie () | |
| setCookie ($cookie) | |
| getAppliedCheckingMethods () | |
| setAppliedCheckingMethods ($applied_checking_methods) | |
Static Public Member Functions | |
| static | isDEBUG () |
| static | setDEBUG ($DEBUG) |
| static | isUseSeperateLogfile () |
| static | setUseSeperateLogfile ($use_seperate_logfile) |
Data Fields | |
| const | DISPOSITION = 'disposition' |
| const | STATUS_CODE = 'status_code' |
| const | REVALIDATE = 'revalidate' |
| const | CM_FILE_TOKEN = 1 |
| const | CM_FOLDER_TOKEN = 2 |
| const | CM_CHECKINGINSTANCE = 3 |
| const | CM_SECFOLDER = 4 |
Protected Member Functions | |
| checkPublicSection () | |
| checkUser () | |
| addAppliedCheckingMethod ($method) | |
| sendHeader ($message) | |
Protected Attributes | |
| $path_object = null | |
| $checked = false | |
| $disposition = ilFileDelivery::DISP_INLINE | |
| $override_mimetype = '' | |
| $send_status_code = false | |
| $initialized = false | |
| $revalidate_folder_tokens = true | |
| $cookie = null | |
| $applied_checking_methods = array() | |
Static Protected Attributes | |
| static | $DEBUG = false |
| static | $use_seperate_logfile = false |
| ilWebAccessChecker::__construct | ( | $path, | |
| ilWACCookieInterface | $ilWACCookieInterface = null |
||
| ) |
ilWebAccessChecker constructor.
| $path | ||
| \ilWACCookieInterface | null | $ilWACCookieInterface |
Definition at line 77 of file class.ilWebAccessChecker.php.
References $path, setCookie(), and setPathObject().
Here is the call graph for this function:
|
protected |
| int | $method |
Definition at line 398 of file class.ilWebAccessChecker.php.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::check | ( | ) |
| ilWACException |
Definition at line 87 of file class.ilWebAccessChecker.php.
References addAppliedCheckingMethod(), ilWACException\CODE_NO_PATH, ilWACLog\getInstance(), getPathObject(), initILIAS(), isRevalidateFolderTokens(), sendHeader(), and setChecked().
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 202 of file class.ilWebAccessChecker.php.
References $ilSetting, $ilUser, ilWACException\ACCESS_DENIED_NO_PUB, and ilWACLog\getInstance().
Referenced by initILIAS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 211 of file class.ilWebAccessChecker.php.
References $_SERVER, $ilUser, and ilWACException\ACCESS_DENIED_NO_LOGIN.
Referenced by initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::getAppliedCheckingMethods | ( | ) |
Definition at line 382 of file class.ilWebAccessChecker.php.
References $applied_checking_methods.
| ilWebAccessChecker::getCookie | ( | ) |
Definition at line 366 of file class.ilWebAccessChecker.php.
References $cookie.
| ilWebAccessChecker::getDisposition | ( | ) |
Definition at line 254 of file class.ilWebAccessChecker.php.
References $disposition.
Referenced by ilWebAccessCheckerDelivery\deliver(), ilWebAccessCheckerDelivery\deliverDummyImage(), and ilWebAccessCheckerDelivery\deliverDummyVideo().
Here is the caller graph for this function:| ilWebAccessChecker::getOverrideMimetype | ( | ) |
Definition at line 270 of file class.ilWebAccessChecker.php.
References $override_mimetype.
| ilWebAccessChecker::getPathObject | ( | ) |
Definition at line 238 of file class.ilWebAccessChecker.php.
References $path_object.
Referenced by check(), ilWebAccessCheckerDelivery\deliver(), ilWebAccessCheckerDelivery\deliverDummyImage(), ilWebAccessCheckerDelivery\deliverDummyVideo(), ilWebAccessCheckerDelivery\handleAccessErrors(), and initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::initILIAS | ( | ) |
Definition at line 169 of file class.ilWebAccessChecker.php.
References $_POST, $_REQUEST, $GLOBALS, ilWACException\ACCESS_DENIED_NO_LOGIN, checkPublicSection(), checkUser(), ilContext\CONTEXT_WAC, ilWACLog\getInstance(), getPathObject(), ilContext\init(), ilInitialisation\initILIAS(), isInitialized(), ilInitialisation\reinitILIAS(), and setInitialized().
Referenced by check(), and ilWebAccessCheckerDelivery\handleAccessErrors().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWebAccessChecker::isChecked | ( | ) |
Definition at line 222 of file class.ilWebAccessChecker.php.
References $checked.
Referenced by ilWebAccessCheckerDelivery\deliver(), and ilWebAccessCheckerDelivery\deny().
Here is the caller graph for this function:
|
static |
Definition at line 334 of file class.ilWebAccessChecker.php.
References $DEBUG.
Referenced by ilWACLog\getInstance(), and ilWACToken\isDEBUG().
Here is the caller graph for this function:| ilWebAccessChecker::isInitialized | ( | ) |
Definition at line 286 of file class.ilWebAccessChecker.php.
References $initialized.
Referenced by initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::isRevalidateFolderTokens | ( | ) |
Definition at line 318 of file class.ilWebAccessChecker.php.
References $revalidate_folder_tokens.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::isSendStatusCode | ( | ) |
Definition at line 302 of file class.ilWebAccessChecker.php.
References $send_status_code.
Referenced by ilWebAccessCheckerDelivery\handleAccessErrors().
Here is the caller graph for this function:
|
static |
Definition at line 350 of file class.ilWebAccessChecker.php.
References $use_seperate_logfile.
Referenced by ilWACLog\getInstance().
Here is the caller graph for this function:
|
protected |
| $message |
Definition at line 406 of file class.ilWebAccessChecker.php.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::setAppliedCheckingMethods | ( | $applied_checking_methods | ) |
| array | $applied_checking_methods |
Definition at line 390 of file class.ilWebAccessChecker.php.
References $applied_checking_methods.
| ilWebAccessChecker::setChecked | ( | $checked | ) |
| boolean | $checked |
Definition at line 230 of file class.ilWebAccessChecker.php.
References $checked.
Referenced by check().
Here is the caller graph for this function:| ilWebAccessChecker::setCookie | ( | $cookie | ) |
| \ilWACCookieInterface | $cookie |
Definition at line 374 of file class.ilWebAccessChecker.php.
References $cookie.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
| boolean | $DEBUG |
Definition at line 342 of file class.ilWebAccessChecker.php.
References $DEBUG.
| ilWebAccessChecker::setDisposition | ( | $disposition | ) |
| string | $disposition |
Definition at line 262 of file class.ilWebAccessChecker.php.
References $disposition.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the caller graph for this function:| ilWebAccessChecker::setInitialized | ( | $initialized | ) |
| boolean | $initialized |
Definition at line 294 of file class.ilWebAccessChecker.php.
References $initialized.
Referenced by initILIAS().
Here is the caller graph for this function:| ilWebAccessChecker::setOverrideMimetype | ( | $override_mimetype | ) |
| string | $override_mimetype |
Definition at line 278 of file class.ilWebAccessChecker.php.
References $override_mimetype.
| ilWebAccessChecker::setPathObject | ( | $path_object | ) |
| ilWACPath | $path_object |
Definition at line 246 of file class.ilWebAccessChecker.php.
References $path_object.
Referenced by __construct().
Here is the caller graph for this function:| ilWebAccessChecker::setRevalidateFolderTokens | ( | $revalidate_folder_tokens | ) |
| boolean | $revalidate_folder_tokens |
Definition at line 326 of file class.ilWebAccessChecker.php.
References $revalidate_folder_tokens.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the caller graph for this function:| ilWebAccessChecker::setSendStatusCode | ( | $send_status_code | ) |
| boolean | $send_status_code |
Definition at line 310 of file class.ilWebAccessChecker.php.
References $send_status_code.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
Here is the caller graph for this function:
|
static |
| boolean | $use_seperate_logfile |
Definition at line 358 of file class.ilWebAccessChecker.php.
References $use_seperate_logfile.
|
protected |
Definition at line 68 of file class.ilWebAccessChecker.php.
Referenced by getAppliedCheckingMethods(), and setAppliedCheckingMethods().
|
protected |
Definition at line 32 of file class.ilWebAccessChecker.php.
Referenced by isChecked(), and setChecked().
|
protected |
Definition at line 64 of file class.ilWebAccessChecker.php.
Referenced by getCookie(), and setCookie().
|
staticprotected |
Definition at line 56 of file class.ilWebAccessChecker.php.
Referenced by isDEBUG(), and setDEBUG().
|
protected |
Definition at line 36 of file class.ilWebAccessChecker.php.
Referenced by getDisposition(), and setDisposition().
|
protected |
Definition at line 48 of file class.ilWebAccessChecker.php.
Referenced by isInitialized(), and setInitialized().
|
protected |
Definition at line 40 of file class.ilWebAccessChecker.php.
Referenced by getOverrideMimetype(), and setOverrideMimetype().
|
protected |
Definition at line 28 of file class.ilWebAccessChecker.php.
Referenced by getPathObject(), and setPathObject().
|
protected |
Definition at line 52 of file class.ilWebAccessChecker.php.
Referenced by isRevalidateFolderTokens(), and setRevalidateFolderTokens().
|
protected |
Definition at line 44 of file class.ilWebAccessChecker.php.
Referenced by isSendStatusCode(), and setSendStatusCode().
|
staticprotected |
Definition at line 60 of file class.ilWebAccessChecker.php.
Referenced by isUseSeperateLogfile(), and setUseSeperateLogfile().
| const ilWebAccessChecker::CM_CHECKINGINSTANCE = 3 |
Definition at line 23 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_FILE_TOKEN = 1 |
Definition at line 21 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_FOLDER_TOKEN = 2 |
Definition at line 22 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::CM_SECFOLDER = 4 |
Definition at line 24 of file class.ilWebAccessChecker.php.
| const ilWebAccessChecker::DISPOSITION = 'disposition' |
Definition at line 18 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
| const ilWebAccessChecker::REVALIDATE = 'revalidate' |
Definition at line 20 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().
| const ilWebAccessChecker::STATUS_CODE = 'status_code' |
Definition at line 19 of file class.ilWebAccessChecker.php.
Referenced by ilWebAccessCheckerDelivery\handleRequest().