|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilPCFileItemGUI:
Collaboration diagram for ilPCFileItemGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| newFileItem () | |
| insert new file item More... | |
| newItemAfter () | |
| insert new list item after current one More... | |
| initAddFileForm (bool $a_before=true) | |
| Init add file form. More... | |
| insertFromRepository (string $a_cmd) | |
| Insert file from repository. More... | |
| insertFromWorkspace (string $a_cmd="insert") | |
| Insert file from personal workspace. More... | |
| insertNewItemAfter (int $a_file_ref_id=0) | |
| insert new file item after another item More... | |
| newItemBefore () | |
| insert new list item before current one More... | |
| insertNewItemBefore (int $a_file_ref_id=0) | |
| insert new list item before current one More... | |
| deleteItem () | |
| delete a list item More... | |
| setTabs (string $a_cmd="") | |
| output tabs More... | |
| moveItemDown () | |
| move list item down More... | |
| moveItemUp () | |
| move list item up More... | |
| cancelAddFile () | |
| Cancel adding a file. More... | |
| redirectToFileList () | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
| setContentObject (ilPageContent $a_val) | |
| getContentObject () | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| getStyle () | |
| getCharacteristicsOfCurrentStyle (array $a_type) | |
| Get characteristics of current style and call setCharacteristics, if style is given. More... | |
| setCharacteristics (array $a_chars) | |
| getCharacteristics () | |
| getHierId () | |
| setHierId (string $a_hier_id) | |
| set hierarchical id in dom object More... | |
| delete () | |
| displayValidationError () | |
| cancelCreate () | |
| cancel creating page content More... | |
| cancelUpdate () | |
| cancel update More... | |
| cancel () | |
| Cancel. More... | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa More... | |
| cut () | |
| Cut single element. More... | |
| copy () | |
| Copy single element. More... | |
| getTemplateOptions (string $a_type="") | |
| Get table templates. More... | |
Protected Attributes | |
| ilObjFile | $file_object |
| ilTabsGUI | $tabs |
| ilObjUser | $user |
| ilTree | $tree |
| ilSetting | $settings |
Protected Attributes inherited from ilPageContentGUI | |
| ILIAS COPage Editor GUIService | $editor_gui |
| ILIAS COPage InternalGUIService | $gui |
| EditSessionRepository | $edit_repo |
| string | $pc_id = "" |
| array | $chars |
| ilObjStyleSheet | $style = null |
| ilLogger | $log |
| int | $styleid = 0 |
| EditGUIRequest | $request |
| string | $sub_command = "" |
| int | $requested_ref_id = 0 |
| ILIAS GlobalScreen ScreenContext ContextServices | $tool_context |
| Style Content CharacteristicManager | $char_manager |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| DOMDocument | $dom |
| $updated | |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Static Public Attributes inherited from ilPageContentGUI | |
| static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
| setEditorToolContext () | |
| initEditor () | |
| getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static array | $common_bb_buttons |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilPCFileItemGUI Handles user commands on items of file lists
Definition at line 24 of file class.ilPCFileItemGUI.php.
| ilPCFileItemGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Definition at line 33 of file class.ilPCFileItemGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPCFileItemGUI::cancelAddFile | ( | ) |
Cancel adding a file.
Definition at line 411 of file class.ilPCFileItemGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCFileItemGUI::deleteItem | ( | ) |
delete a list item
Definition at line 341 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCFileItemGUI::executeCommand | ( | ) |
Definition at line 51 of file class.ilPCFileItemGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCFileItemGUI::initAddFileForm | ( | bool | $a_before = true | ) |
Init add file form.
Definition at line 148 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by newFileItem(), newItemAfter(), and newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertFromRepository | ( | string | $a_cmd | ) |
Insert file from repository.
Definition at line 178 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), and setTabs().
Referenced by newItemAfter(), and newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertFromWorkspace | ( | string | $a_cmd = "insert" | ) |
Insert file from personal workspace.
Definition at line 203 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), ilWorkspaceExplorerGUI\setCustomLinkTarget(), setTabs(), and ILIAS\Repository\user().
Referenced by newItemAfter(), and newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertNewItemAfter | ( | int | $a_file_ref_id = 0 | ) |
insert new file item after another item
Definition at line 227 of file class.ilPCFileItemGUI.php.
References $res, $user, ilTree\getNodeData(), newFileItem(), newItemAfter(), and redirectToFileList().
Referenced by newItemAfter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertNewItemBefore | ( | int | $a_file_ref_id = 0 | ) |
insert new list item before current one
Definition at line 305 of file class.ilPCFileItemGUI.php.
References $res, $user, ilTree\getNodeData(), newFileItem(), newItemBefore(), and redirectToFileList().
Referenced by newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::moveItemDown | ( | ) |
move list item down
Definition at line 393 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCFileItemGUI::moveItemUp | ( | ) |
move list item up
Definition at line 402 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\updateAndReturn().
Here is the call graph for this function:| ilPCFileItemGUI::newFileItem | ( | ) |
insert new file item
Definition at line 68 of file class.ilPCFileItemGUI.php.
References $DIC, ilPageContentGUI\$lng, initAddFileForm(), and ilLanguage\txt().
Referenced by insertNewItemAfter(), and insertNewItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::newItemAfter | ( | ) |
insert new list item after current one
Definition at line 105 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$sub_command, $tabs, ilPageContentGUI\displayValidationError(), initAddFileForm(), insertFromRepository(), insertFromWorkspace(), insertNewItemAfter(), and setTabs().
Referenced by insertNewItemAfter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::newItemBefore | ( | ) |
insert new list item before current one
Definition at line 263 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$sub_command, $tabs, ilPageContentGUI\displayValidationError(), initAddFileForm(), insertFromRepository(), insertFromWorkspace(), insertNewItemBefore(), and setTabs().
Referenced by insertNewItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::redirectToFileList | ( | ) |
Definition at line 416 of file class.ilPCFileItemGUI.php.
References ILIAS\Repository\ctrl().
Referenced by insertNewItemAfter(), and insertNewItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::setTabs | ( | string | $a_cmd = "" | ) |
output tabs
Definition at line 350 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $ilSetting, $settings, $tabs, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by insertFromRepository(), insertFromWorkspace(), newItemAfter(), and newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 26 of file class.ilPCFileItemGUI.php.
|
protected |
Definition at line 30 of file class.ilPCFileItemGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 27 of file class.ilPCFileItemGUI.php.
Referenced by insertFromRepository(), insertFromWorkspace(), newItemAfter(), newItemBefore(), and setTabs().
|
protected |
Definition at line 29 of file class.ilPCFileItemGUI.php.
|
protected |
Definition at line 28 of file class.ilPCFileItemGUI.php.
Referenced by insertNewItemAfter(), and insertNewItemBefore().