|
ILIAS
release_8 Revision v8.24
|
Class ilFileVersionFormGUI. More...
Collaboration diagram for ilFileVersionFormGUI:Public Member Functions | |
| __construct (ilFileVersionsGUI $file_version_gui, $mode=self::MODE_ADD) | |
| ilFileVersionFormGUI constructor. More... | |
| saveObject () | |
| getHTML () | |
Data Fields | |
| const | MODE_ADD = 1 |
| const | MODE_REPLACE = 2 |
| const | F_TITLE = 'title' |
| const | F_DESCRIPTION = "description" |
| const | F_FILE = "file" |
| const | F_SAVE_MODE = 'save_mode' |
Private Member Functions | |
| initForm () | |
| resolveParentCommand (int $mode) | |
Private Attributes | |
| ilObjFile | $file |
| ILIAS UI Component Input Container Form Standard | $form |
| ILIAS UI Factory | $ui_factory |
| ILIAS UI Renderer | $ui_renderer |
| RequestInterface | $request |
| ilGlobalTemplateInterface | $global_tpl |
| ilLanguage | $lng |
| ILIAS ResourceStorage Services | $resource_services |
| int | $save_mode = self::MODE_ADD |
| string | $post_url |
Class ilFileVersionFormGUI.
Definition at line 29 of file class.ilFileVersionFormGUI.php.
| ilFileVersionFormGUI::__construct | ( | ilFileVersionsGUI | $file_version_gui, |
$mode = self::MODE_ADD |
|||
| ) |
ilFileVersionFormGUI constructor.
Definition at line 54 of file class.ilFileVersionFormGUI.php.
References $DIC, ilFileVersionsGUI\getFile(), initForm(), ILIAS\Repository\lng(), and resolveParentCommand().
Here is the call graph for this function:| ilFileVersionFormGUI::getHTML | ( | ) |
Definition at line 144 of file class.ilFileVersionFormGUI.php.
References ILIAS\Repository\form().
Here is the call graph for this function:
|
private |
Definition at line 74 of file class.ilFileVersionFormGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\form(), ilFileUtils\getUploadSizeLimitBytes(), ILIAS\Repository\lng(), MODE_ADD, ilFileVersionsUploadHandlerGUI\MODE_APPEND, MODE_REPLACE, ilFileVersionsUploadHandlerGUI\MODE_REPLACE, and ilObject\TITLE_LENGTH.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 149 of file class.ilFileVersionFormGUI.php.
References ilFileVersionsGUI\CMD_CREATE_NEW_VERSION, ilFileVersionsGUI\CMD_CREATE_REPLACING_VERSION, MODE_ADD, and MODE_REPLACE.
Referenced by __construct().
Here is the caller graph for this function:| ilFileVersionFormGUI::saveObject | ( | ) |
Definition at line 115 of file class.ilFileVersionFormGUI.php.
References $data, ensureSuffix(), F_DESCRIPTION, F_FILE, F_TITLE, ILIAS\Repository\form(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
private |
Definition at line 39 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 40 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 44 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 45 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 49 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 43 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 46 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 48 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 41 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 42 of file class.ilFileVersionFormGUI.php.
| const ilFileVersionFormGUI::F_DESCRIPTION = "description" |
Definition at line 35 of file class.ilFileVersionFormGUI.php.
Referenced by saveObject().
| const ilFileVersionFormGUI::F_FILE = "file" |
Definition at line 36 of file class.ilFileVersionFormGUI.php.
Referenced by saveObject().
| const ilFileVersionFormGUI::F_SAVE_MODE = 'save_mode' |
Definition at line 37 of file class.ilFileVersionFormGUI.php.
| const ilFileVersionFormGUI::F_TITLE = 'title' |
Definition at line 34 of file class.ilFileVersionFormGUI.php.
Referenced by saveObject().
| const ilFileVersionFormGUI::MODE_ADD = 1 |
Definition at line 32 of file class.ilFileVersionFormGUI.php.
Referenced by initForm(), ilFileVersionsGUI\performCommand(), and resolveParentCommand().
| const ilFileVersionFormGUI::MODE_REPLACE = 2 |
Definition at line 33 of file class.ilFileVersionFormGUI.php.
Referenced by initForm(), ilFileVersionsGUI\performCommand(), and resolveParentCommand().