__construct |
( |
|
$folderdata | ) |
|
addFile |
( |
FileType |
$file, |
|
|
|
$user_id = null |
|
) |
| |
static availableInRange |
( |
|
$range_id_or_object, |
|
|
|
$user_id |
|
) |
| |
|
static |
- Parameters
-
Object | string | $range_id_or_object | |
string | $user_id | |
- Returns
- bool
Implements FolderType.
deleteFile |
( |
|
$file_ref_id | ) |
|
deleteSubfolder |
( |
|
$subfolder_id | ) |
|
getAdditionalActionButtons |
( |
| ) |
|
getAdditionalColumnOrderWeigh |
( |
|
$column_index | ) |
|
Returns an integer that marks the value the content of the given column should be ordered by.
- Parameters
-
- Returns
- integer : order value
Implements FolderType.
Returns an associative array of additional colums with the index the id of the column and their values as the localized names of the columns
- Returns
- array('col1' => _("Anfragestatus"))
Implements FolderType.
getContentForAdditionalColumn |
( |
|
$column_index | ) |
|
Returns the content for that additional column, if it exists. You can return null a string or a Flexi_Template as the content.
- Parameters
-
- Returns
- null|string|Flexi_Template
Implements FolderType.
getDescriptionTemplate |
( |
| ) |
|
returns description of the folder
- Returns
- Flexi_Template | string
Implements FolderType.
returns template form, must not contain opening and closing <form> tags
- Returns
- Flexi_Template | string
Implements FolderType.
getIcon |
( |
|
$role = 'info' | ) |
|
isFileDownloadable |
( |
|
$fileref_or_id, |
|
|
|
$user_id |
|
) |
| |
- Parameters
-
string | $fileref_or_id | |
string | $user_id | |
- Returns
- bool
Implements FolderType.
isFileEditable |
( |
|
$fileref_or_id, |
|
|
|
$user_id |
|
) |
| |
- Parameters
-
string | $fileref_or_id | |
string | $user_id | |
- Returns
- bool
Implements FolderType.
isFileWritable |
( |
|
$fileref_or_id, |
|
|
|
$user_id |
|
) |
| |
- Parameters
-
| $fileref_or_id | |
string | $user_id | |
- Returns
- bool
Implements FolderType.
isSubfolderAllowed |
( |
|
$user_id | ) |
|
setDataFromEditTemplate |
( |
|
$request | ) |
|
validateUpload |
( |
FileType |
$file, |
|
|
|
$user_id |
|
) |
| |
- Parameters
-
| $uploadedfile | |
string | $user_id | |
Implements FolderType.
The documentation for this class was generated from the following file: