|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilWACPath:Static Public Member Functions | |
| static | getAudioSuffixes () |
| static | setAudioSuffixes (array $audio_suffixes) |
| static | getImageSuffixes () |
| static | setImageSuffixes (array $image_suffixes) |
| static | getVideoSuffixes () |
| static | setVideoSuffixes (array $video_suffixes) |
Data Fields | |
| const | DIR_DATA = "data" |
| const | DIR_SEC = "sec" |
| const | REGEX = "(?<prefix>.*?)(?<path>(?<path_without_query>(?<secure_path_id>(?<module_path>\/data\/(?<client>[\w\-\.]*)\/(?<sec>sec\/|)(?<module_type>.*?)\/(?<module_identifier>.*\/|)))(?<appendix>[^\?\n]*)).*)" |
| Copy this without to regex101.com and test with some URL of files. More... | |
Protected Member Functions | |
| handleParameters () | |
Protected Attributes | |
| $client = '' | |
| $parameters = array() | |
| $in_sec_folder = false | |
| $token = '' | |
| $timestamp = 0 | |
| $ttl = 0 | |
| $secure_path = '' | |
| $secure_path_id = '' | |
| $original_request = '' | |
| $file_name = '' | |
| $query = '' | |
| $suffix = '' | |
| $prefix = '' | |
| $appendix = '' | |
| $module_path = '' | |
| $path = '' | |
| $module_type = '' | |
| $module_identifier = '' | |
| $path_without_query = '' | |
Static Protected Attributes | |
| static | $image_suffixes |
| static | $video_suffixes |
| static | $audio_suffixes |
| ilWACPath::__construct | ( | $path | ) |
ilWACPath constructor.
| string | $path |
Definition at line 131 of file class.ilWACPath.php.
References $path, $query, $result, getModuleIdentifier(), handleParameters(), setAppendix(), setClient(), setFileName(), setInSecFolder(), setModuleIdentifier(), setModulePath(), setModuleType(), setOriginalRequest(), setParameters(), setPath(), setPathWithoutQuery(), setPrefix(), setQuery(), setSecurePath(), setSecurePathId(), and setSuffix().
Here is the call graph for this function:| ilWACPath::fileExists | ( | ) |
Definition at line 414 of file class.ilWACPath.php.
References getPathWithoutQuery().
Here is the call graph for this function:| ilWACPath::getAppendix | ( | ) |
|
static |
Definition at line 220 of file class.ilWACPath.php.
References $audio_suffixes.
| ilWACPath::getCleanURLdecodedPath | ( | ) |
Returns a clean (everything behind ? is removed and rawurldecoded path.
Definition at line 558 of file class.ilWACPath.php.
References $path.
| ilWACPath::getClient | ( | ) |
| ilWACPath::getDirName | ( | ) |
Definition at line 331 of file class.ilWACPath.php.
References getPathWithoutQuery().
Here is the call graph for this function:| ilWACPath::getFileName | ( | ) |
Definition at line 599 of file class.ilWACPath.php.
References $file_name.
Referenced by ilObjUserAccess\canBeDelivered().
Here is the caller graph for this function:
|
static |
Definition at line 238 of file class.ilWACPath.php.
References $image_suffixes.
| ilWACPath::getModuleIdentifier | ( | ) |
Definition at line 694 of file class.ilWACPath.php.
References $module_identifier.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::getModulePath | ( | ) |
Definition at line 312 of file class.ilWACPath.php.
References $module_path.
| ilWACPath::getModuleType | ( | ) |
Definition at line 675 of file class.ilWACPath.php.
References $module_type.
Referenced by ilWACSecurePath\hasCheckingInstanceRegistered().
Here is the caller graph for this function:| ilWACPath::getOriginalRequest | ( | ) |
Definition at line 618 of file class.ilWACPath.php.
References $original_request.
| ilWACPath::getParameters | ( | ) |
Definition at line 202 of file class.ilWACPath.php.
References $parameters.
Referenced by handleParameters().
Here is the caller graph for this function:| ilWACPath::getPath | ( | ) |
Definition at line 547 of file class.ilWACPath.php.
References $path.
Referenced by ilObjBlogAccess\canBeDelivered(), ilObjChatroomAccess\canBeDelivered(), ilObjExerciseAccess\canBeDelivered(), ilObjFileAccess\canBeDelivered(), ilObjPollAccess\canBeDelivered(), ilPortfolioAccessHandler\canBeDelivered(), ilContainerAccess\canBeDelivered(), ilObjMediaObjectAccess\canBeDelivered(), and ilObjectAccess\canBeDelivered().
Here is the caller graph for this function:| ilWACPath::getPathWithoutQuery | ( | ) |
Definition at line 340 of file class.ilWACPath.php.
References $path_without_query.
Referenced by fileExists(), and getDirName().
Here is the caller graph for this function:| ilWACPath::getPrefix | ( | ) |
| ilWACPath::getQuery | ( | ) |
| ilWACPath::getSecurePath | ( | ) |
Definition at line 637 of file class.ilWACPath.php.
References $secure_path.
| ilWACPath::getSecurePathId | ( | ) |
Definition at line 528 of file class.ilWACPath.php.
References $secure_path_id.
Referenced by ilObjFileAccess\canBeDelivered().
Here is the caller graph for this function:| ilWACPath::getSuffix | ( | ) |
| ilWACPath::getTimestamp | ( | ) |
| ilWACPath::getToken | ( | ) |
| ilWACPath::getTTL | ( | ) |
|
static |
Definition at line 256 of file class.ilWACPath.php.
References $video_suffixes.
|
protected |
Definition at line 184 of file class.ilWACPath.php.
References getParameters(), setTimestamp(), setToken(), setTTL(), ilWACSignedPath\WAC_TIMESTAMP_ID, ilWACSignedPath\WAC_TOKEN_ID, and ilWACSignedPath\WAC_TTL_ID.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWACPath::hasTimestamp | ( | ) |
Definition at line 432 of file class.ilWACPath.php.
| ilWACPath::hasToken | ( | ) |
Definition at line 423 of file class.ilWACPath.php.
| ilWACPath::hasTTL | ( | ) |
Definition at line 441 of file class.ilWACPath.php.
| ilWACPath::isAudio | ( | ) |
Definition at line 396 of file class.ilWACPath.php.
References getSuffix().
Referenced by isStreamable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWACPath::isImage | ( | ) |
Definition at line 359 of file class.ilWACPath.php.
References getSuffix().
Here is the call graph for this function:| ilWACPath::isInSecFolder | ( | ) |
Definition at line 656 of file class.ilWACPath.php.
References $in_sec_folder.
| ilWACPath::isStreamable | ( | ) |
Definition at line 387 of file class.ilWACPath.php.
References isAudio(), and isVideo().
Here is the call graph for this function:| ilWACPath::isVideo | ( | ) |
Definition at line 405 of file class.ilWACPath.php.
References getSuffix().
Referenced by isStreamable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWACPath::setAppendix | ( | $appendix | ) |
| string | $appendix |
Definition at line 302 of file class.ilWACPath.php.
References $appendix.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
| array | $audio_suffixes |
Definition at line 229 of file class.ilWACPath.php.
References $audio_suffixes.
| ilWACPath::setClient | ( | $client | ) |
| string | $client |
Definition at line 518 of file class.ilWACPath.php.
References $client.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setFileName | ( | $file_name | ) |
| string | $file_name |
Definition at line 608 of file class.ilWACPath.php.
References $file_name.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
| array | $image_suffixes |
Definition at line 247 of file class.ilWACPath.php.
References $image_suffixes.
| ilWACPath::setInSecFolder | ( | $in_sec_folder | ) |
| bool | $in_sec_folder |
Definition at line 665 of file class.ilWACPath.php.
References $in_sec_folder.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setModuleIdentifier | ( | $module_identifier | ) |
| string | $module_identifier |
Definition at line 703 of file class.ilWACPath.php.
References $module_identifier.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setModulePath | ( | $module_path | ) |
| string | $module_path |
Definition at line 321 of file class.ilWACPath.php.
References $module_path.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setModuleType | ( | $module_type | ) |
| string | $module_type |
Definition at line 684 of file class.ilWACPath.php.
References $module_type.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setOriginalRequest | ( | $original_request | ) |
| string | $original_request |
Definition at line 627 of file class.ilWACPath.php.
References $original_request.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setParameters | ( | array | $parameters | ) |
| array | $parameters |
Definition at line 211 of file class.ilWACPath.php.
References $parameters.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setPath | ( | $path | ) |
| string | $path |
Definition at line 570 of file class.ilWACPath.php.
References $path.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setPathWithoutQuery | ( | $path_without_query | ) |
| string | $path_without_query |
Definition at line 349 of file class.ilWACPath.php.
References $path_without_query.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setPrefix | ( | $prefix | ) |
| string | $prefix |
Definition at line 283 of file class.ilWACPath.php.
References $prefix.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setQuery | ( | $query | ) |
| string | $query |
Definition at line 589 of file class.ilWACPath.php.
References $query.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setSecurePath | ( | $secure_path | ) |
| string | $secure_path |
Definition at line 646 of file class.ilWACPath.php.
References $secure_path.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setSecurePathId | ( | $secure_path_id | ) |
| string | $secure_path_id |
Definition at line 537 of file class.ilWACPath.php.
References $secure_path_id.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setSuffix | ( | $suffix | ) |
| string | $suffix |
Definition at line 377 of file class.ilWACPath.php.
References $suffix.
Referenced by __construct().
Here is the caller graph for this function:| ilWACPath::setTimestamp | ( | $timestamp | ) |
| int | $timestamp |
Definition at line 479 of file class.ilWACPath.php.
References $timestamp, and ilWACSignedPath\WAC_TIMESTAMP_ID.
Referenced by handleParameters().
Here is the caller graph for this function:| ilWACPath::setToken | ( | $token | ) |
| string | $token |
Definition at line 459 of file class.ilWACPath.php.
References $token, and ilWACSignedPath\WAC_TOKEN_ID.
Referenced by handleParameters().
Here is the caller graph for this function:| ilWACPath::setTTL | ( | $ttl | ) |
| int | $ttl |
Definition at line 499 of file class.ilWACPath.php.
References $ttl, and ilWACSignedPath\WAC_TTL_ID.
Referenced by handleParameters().
Here is the caller graph for this function:
|
static |
| array | $video_suffixes |
Definition at line 265 of file class.ilWACPath.php.
References $video_suffixes.
|
protected |
Definition at line 103 of file class.ilWACPath.php.
Referenced by getAppendix(), and setAppendix().
|
staticprotected |
Definition at line 41 of file class.ilWACPath.php.
Referenced by getAudioSuffixes(), and setAudioSuffixes().
|
protected |
Definition at line 51 of file class.ilWACPath.php.
Referenced by getClient(), and setClient().
|
protected |
Definition at line 87 of file class.ilWACPath.php.
Referenced by getFileName(), and setFileName().
|
staticprotected |
Definition at line 21 of file class.ilWACPath.php.
Referenced by getImageSuffixes(), and setImageSuffixes().
|
protected |
Definition at line 59 of file class.ilWACPath.php.
Referenced by isInSecFolder(), and setInSecFolder().
|
protected |
Definition at line 119 of file class.ilWACPath.php.
Referenced by getModuleIdentifier(), and setModuleIdentifier().
|
protected |
Definition at line 107 of file class.ilWACPath.php.
Referenced by getModulePath(), and setModulePath().
|
protected |
Definition at line 115 of file class.ilWACPath.php.
Referenced by getModuleType(), and setModuleType().
|
protected |
Definition at line 83 of file class.ilWACPath.php.
Referenced by getOriginalRequest(), and setOriginalRequest().
|
protected |
Definition at line 55 of file class.ilWACPath.php.
Referenced by getParameters(), and setParameters().
|
protected |
Definition at line 111 of file class.ilWACPath.php.
Referenced by __construct(), getCleanURLdecodedPath(), getPath(), and setPath().
|
protected |
Definition at line 123 of file class.ilWACPath.php.
Referenced by getPathWithoutQuery(), and setPathWithoutQuery().
|
protected |
Definition at line 99 of file class.ilWACPath.php.
Referenced by getPrefix(), and setPrefix().
|
protected |
Definition at line 91 of file class.ilWACPath.php.
Referenced by __construct(), getQuery(), and setQuery().
|
protected |
Definition at line 75 of file class.ilWACPath.php.
Referenced by getSecurePath(), and setSecurePath().
|
protected |
Definition at line 79 of file class.ilWACPath.php.
Referenced by getSecurePathId(), and setSecurePathId().
|
protected |
Definition at line 95 of file class.ilWACPath.php.
Referenced by getSuffix(), and setSuffix().
|
protected |
Definition at line 67 of file class.ilWACPath.php.
Referenced by getTimestamp(), and setTimestamp().
|
protected |
Definition at line 63 of file class.ilWACPath.php.
Referenced by getToken(), and setToken().
|
protected |
Definition at line 71 of file class.ilWACPath.php.
|
staticprotected |
Definition at line 31 of file class.ilWACPath.php.
Referenced by getVideoSuffixes(), and setVideoSuffixes().
| const ilWACPath::DIR_DATA = "data" |
Definition at line 12 of file class.ilWACPath.php.
| const ilWACPath::DIR_SEC = "sec" |
Definition at line 13 of file class.ilWACPath.php.
| const ilWACPath::REGEX = "(?<prefix>.*?)(?<path>(?<path_without_query>(?<secure_path_id>(?<module_path>\/data\/(?<client>[\w\-\.]*)\/(?<sec>sec\/|)(?<module_type>.*?)\/(?<module_identifier>.*\/|)))(?<appendix>[^\?\n]*)).*)" |
Copy this without to regex101.com and test with some URL of files.
Definition at line 17 of file class.ilWACPath.php.