◆ availableInRange()
static availableInRange |
( |
|
$range_id_or_object, |
|
|
|
$user_id |
|
) |
| |
|
static |
- Parameters
-
Object | string | $range_id_or_object | |
string | $user_id | |
- Returns
- bool
Implements FolderType.
◆ getDescriptionTemplate()
getDescriptionTemplate |
( |
| ) |
|
Returns a description template for CoursePublicFolders.
- Returns
- string A string describing this folder type.
Implements FolderType.
◆ getTypeName()
◆ isFileDownloadable()
isFileDownloadable |
( |
|
$file_id, |
|
|
|
$user_id |
|
) |
| |
Files in CoursePublicFolders are downloadable for all logged in users.
- Parameters
-
string | $file_id | The ID to a FileRef. |
string | $user_id | The user who wishes to downlaod the file. |
- Returns
- bool True
Implements FolderType.
◆ isReadable()
CoursePublicFolders are readable for all logged in users.
- Parameters
-
string | $user_id | The user who wishes to read the folder. |
- Returns
- bool True
Implements FolderType.
◆ isVisible()
CoursePublicFolders are visible for all logged in users.
- Parameters
-
string | $user_id | The user who wishes to see the folder. |
- Returns
- bool True
Implements FolderType.
◆ $sorter
The documentation for this class was generated from the following file: