|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilFileVersionFormGUI. More...
Collaboration diagram for ilFileVersionFormGUI:Public Member Functions | |
| __construct (ilFileVersionsGUI $file_version_gui, private int $save_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 |
| Standard | $form |
| Factory | $ui_factory |
| Renderer | $ui_renderer |
| RequestInterface | $request |
| ilGlobalTemplateInterface | $global_tpl |
| ilLanguage | $lng |
| Services | $resource_services |
| string | $post_url |
Class ilFileVersionFormGUI.
Definition at line 30 of file class.ilFileVersionFormGUI.php.
| ilFileVersionFormGUI::__construct | ( | ilFileVersionsGUI | $file_version_gui, |
| private int | $save_mode = self::MODE_ADD |
||
| ) |
ilFileVersionFormGUI constructor.
Definition at line 53 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 148 of file class.ilFileVersionFormGUI.php.
References ILIAS\Repository\form().
Here is the call graph for this function:
|
private |
Definition at line 72 of file class.ilFileVersionFormGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\form(), 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 153 of file class.ilFileVersionFormGUI.php.
References ilFileVersionsGUI\CMD_CREATE_NEW_VERSION, and ilFileVersionsGUI\CMD_CREATE_REPLACING_VERSION.
Referenced by __construct().
Here is the caller graph for this function:| ilFileVersionFormGUI::saveObject | ( | ) |
Definition at line 116 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 40 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 41 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 45 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 44 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 47 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 42 of file class.ilFileVersionFormGUI.php.
|
private |
Definition at line 43 of file class.ilFileVersionFormGUI.php.
| const ilFileVersionFormGUI::F_DESCRIPTION = "description" |
Definition at line 36 of file class.ilFileVersionFormGUI.php.
Referenced by saveObject().
| const ilFileVersionFormGUI::F_FILE = "file" |
Definition at line 37 of file class.ilFileVersionFormGUI.php.
Referenced by saveObject().
| const ilFileVersionFormGUI::F_SAVE_MODE = 'save_mode' |
Definition at line 38 of file class.ilFileVersionFormGUI.php.
| const ilFileVersionFormGUI::F_TITLE = 'title' |
Definition at line 35 of file class.ilFileVersionFormGUI.php.
Referenced by saveObject().
| const ilFileVersionFormGUI::MODE_ADD = 1 |
Definition at line 33 of file class.ilFileVersionFormGUI.php.
Referenced by initForm(), and ilFileVersionsGUI\performCommand().
| const ilFileVersionFormGUI::MODE_REPLACE = 2 |
Definition at line 34 of file class.ilFileVersionFormGUI.php.
Referenced by initForm(), and ilFileVersionsGUI\performCommand().