◆ AdjustFilename()
| static AdjustFilename |
( |
|
$filename | ) |
|
|
static |
◆ CheckAccess()
| static CheckAccess |
( |
|
$files, |
|
|
|
$user_id = null, |
|
|
|
$throw_exception = true |
|
) |
| |
|
static |
Checks whether the user may access a file or a bunch of files if you pass an array.
- Parameters
-
| mixed | $files | Either a single directory entry id or an array of those (DirectoryEntry or File object(s) are also valid) |
| mixed | $user_id | Id of the user or null for current user (default) |
| bool | $throw_exception | Throw an AccessDeniedException instead of returning false |
- Returns
- bool indicating whether the user may access this file/these files
- Exceptions
-
◆ CompressFilename()
| static CompressFilename |
( |
|
$filename | ) |
|
|
static |
◆ ExtendFilename()
| static ExtendFilename |
( |
|
$filename, |
|
|
|
$extension, |
|
|
|
$wrap = array('(', ')') |
|
) |
| |
|
static |
◆ getBreadCrumbs()
| static getBreadCrumbs |
( |
|
$entry_id | ) |
|
|
static |
◆ GetDirectoryTree()
| static GetDirectoryTree |
( |
|
$folder_id | ) |
|
|
static |
◆ getParentId()
| static getParentId |
( |
|
$entry_id | ) |
|
|
static |
The documentation for this class was generated from the following file: