ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Public Member Functions | |
__construct ($path) | |
ilWACPath constructor. More... | |
getDirName () | |
isImage () | |
isVideo () | |
isAudio () | |
isStreamable () | |
fileExists () | |
hasToken () | |
hasTimestamp () | |
hasTTL () | |
getToken () | |
setToken ($token) | |
getTimestamp () | |
setTimestamp ($timestamp) | |
getTTL () | |
setTTL ($ttl) | |
getClient () | |
setClient ($client) | |
getSecurePathId () | |
setSecurePathId ($secure_path_id) | |
getPath () | |
setPath ($path) | |
getSuffix () | |
setSuffix ($suffix) | |
getQuery () | |
setQuery ($query) | |
getParameters () | |
setParameters ($parameters) | |
getFileName () | |
setFileName ($file_name) | |
getOriginalRequest () | |
setOriginalRequest ($original_request) | |
getPathWithoutQuery () | |
setPathWithoutQuery ($path_without_query) | |
getSecurePath () | |
setSecurePath ($secure_path) | |
isInSecFolder () | |
setInSecFolder ($in_sec_folder) | |
Static Public Member Functions | |
static | getImageSuffixes () |
static | setImageSuffixes ($image_suffixes) |
static | getVideoSuffixes () |
static | setVideoSuffixes ($video_suffixes) |
Data Fields | |
const | DIR_DATA = "data" |
const | DIR_SEC = "sec" |
Protected Member Functions | |
handleParameters () | |
Protected Attributes | |
$client = '' | |
$secure_path_id = '' | |
$secure_path = '' | |
$path = '' | |
$suffix = '' | |
$query = '' | |
$parameters = array() | |
$file_name = '' | |
$original_request = '' | |
$path_without_query = '' | |
$in_sec_folder = false | |
$token = '' | |
$timestamp = 0 | |
$ttl = 0 | |
Static Protected Attributes | |
static | $image_suffixes |
static | $video_suffixes |
static | $audio_suffixes |
ilWACPath::__construct | ( | $path | ) |
ilWACPath constructor.
string | $path |
Definition at line 105 of file class.ilWACPath.php.
References $path, $query, $results, handleParameters(), setClient(), setFileName(), setInSecFolder(), setOriginalRequest(), setParameters(), setPath(), setPathWithoutQuery(), setQuery(), setSecurePath(), setSecurePathId(), and setSuffix().
ilWACPath::fileExists | ( | ) |
Definition at line 190 of file class.ilWACPath.php.
References getPathWithoutQuery().
ilWACPath::getClient | ( | ) |
ilWACPath::getDirName | ( | ) |
Definition at line 150 of file class.ilWACPath.php.
References getPathWithoutQuery().
ilWACPath::getFileName | ( | ) |
Definition at line 369 of file class.ilWACPath.php.
References $file_name.
Referenced by ilObjUserAccess\canBeDelivered().
|
static |
Definition at line 401 of file class.ilWACPath.php.
ilWACPath::getOriginalRequest | ( | ) |
ilWACPath::getParameters | ( | ) |
Definition at line 353 of file class.ilWACPath.php.
References $parameters.
Referenced by handleParameters().
ilWACPath::getPath | ( | ) |
Definition at line 305 of file class.ilWACPath.php.
References $path.
Referenced by ilObjLearningModuleAccess\_getCommands(), ilObjMediaObjectAccess\canBeDelivered(), ilObjFileAccess\canBeDelivered(), ilObjBlogAccess\canBeDelivered(), ilObjChatroomAccess\canBeDelivered(), ilObjPollAccess\canBeDelivered(), and ilPortfolioAccessHandler\canBeDelivered().
ilWACPath::getPathWithoutQuery | ( | ) |
Definition at line 433 of file class.ilWACPath.php.
References $path_without_query.
Referenced by fileExists(), and getDirName().
ilWACPath::getQuery | ( | ) |
ilWACPath::getSecurePath | ( | ) |
ilWACPath::getSecurePathId | ( | ) |
Definition at line 289 of file class.ilWACPath.php.
References $secure_path_id.
Referenced by ilObjFileAccess\canBeDelivered(), and ilWACSecurePath\returnDbTableName().
ilWACPath::getSuffix | ( | ) |
ilWACPath::getTimestamp | ( | ) |
ilWACPath::getToken | ( | ) |
ilWACPath::getTTL | ( | ) |
|
static |
Definition at line 417 of file class.ilWACPath.php.
|
protected |
Definition at line 133 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().
ilWACPath::hasTimestamp | ( | ) |
Definition at line 206 of file class.ilWACPath.php.
ilWACPath::hasToken | ( | ) |
Definition at line 198 of file class.ilWACPath.php.
ilWACPath::hasTTL | ( | ) |
Definition at line 214 of file class.ilWACPath.php.
ilWACPath::isAudio | ( | ) |
Definition at line 174 of file class.ilWACPath.php.
References getSuffix().
Referenced by isStreamable().
ilWACPath::isImage | ( | ) |
Definition at line 158 of file class.ilWACPath.php.
References getSuffix().
ilWACPath::isInSecFolder | ( | ) |
ilWACPath::isStreamable | ( | ) |
Definition at line 182 of file class.ilWACPath.php.
References isAudio(), and isVideo().
ilWACPath::isVideo | ( | ) |
Definition at line 166 of file class.ilWACPath.php.
References getSuffix().
Referenced by isStreamable().
ilWACPath::setClient | ( | $client | ) |
string | $client |
Definition at line 281 of file class.ilWACPath.php.
References $client.
Referenced by __construct().
ilWACPath::setFileName | ( | $file_name | ) |
string | $file_name |
Definition at line 377 of file class.ilWACPath.php.
References $file_name.
Referenced by __construct().
|
static |
array | $image_suffixes |
Definition at line 409 of file class.ilWACPath.php.
References $image_suffixes.
ilWACPath::setInSecFolder | ( | $in_sec_folder | ) |
boolean | $in_sec_folder |
Definition at line 473 of file class.ilWACPath.php.
References $in_sec_folder.
Referenced by __construct().
ilWACPath::setOriginalRequest | ( | $original_request | ) |
string | $original_request |
Definition at line 393 of file class.ilWACPath.php.
References $original_request.
Referenced by __construct().
ilWACPath::setParameters | ( | $parameters | ) |
array | $parameters |
Definition at line 361 of file class.ilWACPath.php.
References $parameters.
Referenced by __construct().
ilWACPath::setPath | ( | $path | ) |
string | $path |
Definition at line 313 of file class.ilWACPath.php.
References $path.
Referenced by __construct().
ilWACPath::setPathWithoutQuery | ( | $path_without_query | ) |
string | $path_without_query |
Definition at line 441 of file class.ilWACPath.php.
References $path_without_query.
Referenced by __construct().
ilWACPath::setQuery | ( | $query | ) |
string | $query |
Definition at line 345 of file class.ilWACPath.php.
References $query.
Referenced by __construct().
ilWACPath::setSecurePath | ( | $secure_path | ) |
string | $secure_path |
Definition at line 457 of file class.ilWACPath.php.
References $secure_path.
Referenced by __construct().
ilWACPath::setSecurePathId | ( | $secure_path_id | ) |
string | $secure_path_id |
Definition at line 297 of file class.ilWACPath.php.
References $secure_path_id.
Referenced by __construct().
ilWACPath::setSuffix | ( | $suffix | ) |
string | $suffix |
Definition at line 329 of file class.ilWACPath.php.
References $suffix.
Referenced by __construct().
ilWACPath::setTimestamp | ( | $timestamp | ) |
$timestamp |
Definition at line 247 of file class.ilWACPath.php.
References $timestamp, and ilWACSignedPath\WAC_TIMESTAMP_ID.
Referenced by handleParameters().
ilWACPath::setToken | ( | $token | ) |
$token |
Definition at line 230 of file class.ilWACPath.php.
References $token, and ilWACSignedPath\WAC_TOKEN_ID.
Referenced by handleParameters().
ilWACPath::setTTL | ( | $ttl | ) |
int | $ttl |
Definition at line 264 of file class.ilWACPath.php.
References $ttl, and ilWACSignedPath\WAC_TTL_ID.
Referenced by handleParameters().
|
static |
array | $video_suffixes |
Definition at line 425 of file class.ilWACPath.php.
References $video_suffixes.
|
staticprotected |
Definition at line 92 of file class.ilWACPath.php.
|
protected |
Definition at line 16 of file class.ilWACPath.php.
Referenced by getClient(), and setClient().
|
protected |
Definition at line 44 of file class.ilWACPath.php.
Referenced by getFileName(), and setFileName().
|
staticprotected |
Definition at line 72 of file class.ilWACPath.php.
Referenced by setImageSuffixes().
|
protected |
Definition at line 56 of file class.ilWACPath.php.
Referenced by isInSecFolder(), and setInSecFolder().
|
protected |
Definition at line 48 of file class.ilWACPath.php.
Referenced by getOriginalRequest(), and setOriginalRequest().
|
protected |
Definition at line 40 of file class.ilWACPath.php.
Referenced by getParameters(), and setParameters().
|
protected |
Definition at line 28 of file class.ilWACPath.php.
Referenced by __construct(), getPath(), and setPath().
|
protected |
Definition at line 52 of file class.ilWACPath.php.
Referenced by getPathWithoutQuery(), and setPathWithoutQuery().
|
protected |
Definition at line 36 of file class.ilWACPath.php.
Referenced by __construct(), getQuery(), and setQuery().
|
protected |
Definition at line 24 of file class.ilWACPath.php.
Referenced by getSecurePath(), and setSecurePath().
|
protected |
Definition at line 20 of file class.ilWACPath.php.
Referenced by getSecurePathId(), and setSecurePathId().
|
protected |
Definition at line 32 of file class.ilWACPath.php.
Referenced by getSuffix(), and setSuffix().
|
protected |
Definition at line 64 of file class.ilWACPath.php.
Referenced by getTimestamp(), and setTimestamp().
|
protected |
Definition at line 60 of file class.ilWACPath.php.
Referenced by getToken(), and setToken().
|
protected |
Definition at line 68 of file class.ilWACPath.php.
|
staticprotected |
Definition at line 82 of file class.ilWACPath.php.
Referenced by setVideoSuffixes().
const ilWACPath::DIR_DATA = "data" |
Definition at line 11 of file class.ilWACPath.php.
const ilWACPath::DIR_SEC = "sec" |
Definition at line 12 of file class.ilWACPath.php.