ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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... | |
![]() | |
__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 () | |
moveAfter () | |
move content element after another element More... | |
moveBefore () | |
move content element before another element More... | |
splitPage () | |
split page to new page at specified position More... | |
splitPageNext () | |
split page to next page at specified position More... | |
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 |
![]() | |
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 |
Style Content CharacteristicManager | $char_manager |
Additional Inherited Members | |
![]() | |
static | _getCommonBBButtons () |
![]() | |
ilPageContent | $content_obj |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilPageObject | $pg_obj |
string | $hier_id = "" |
php4DOMDocument | $dom |
$updated | |
string | $target_script = "" |
string | $return_location = "" |
ilPageConfig | $page_config = null |
![]() | |
static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
![]() | |
redirectToParent (string $hier_id="") | |
getParentReturn (string $hier_id="") | |
updateAndReturn () | |
setCurrentTextLang (string $lang_key) | |
getCurrentTextLang () | |
![]() | |
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\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
ilPCFileItemGUI::cancelAddFile | ( | ) |
Cancel adding a file.
Definition at line 413 of file class.ilPCFileItemGUI.php.
References ILIAS\Repository\ctrl().
ilPCFileItemGUI::deleteItem | ( | ) |
delete a list item
Definition at line 341 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\updateAndReturn().
ilPCFileItemGUI::executeCommand | ( | ) |
Definition at line 51 of file class.ilPCFileItemGUI.php.
References ILIAS\Repository\ctrl().
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().
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().
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().
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 $ilUser, $res, $user, ILIAS\Repository\ctrl(), ilTree\getNodeData(), newFileItem(), and newItemAfter().
Referenced by newItemAfter().
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 $ilUser, $res, $user, ILIAS\Repository\ctrl(), ilTree\getNodeData(), newFileItem(), and newItemBefore().
Referenced by newItemBefore().
ilPCFileItemGUI::moveItemDown | ( | ) |
move list item down
Definition at line 395 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\updateAndReturn().
ilPCFileItemGUI::moveItemUp | ( | ) |
move list item up
Definition at line 404 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\updateAndReturn().
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().
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().
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().
ilPCFileItemGUI::setTabs | ( | string | $a_cmd = "" | ) |
output tabs
Definition at line 350 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $ilSetting, $settings, $tabs, and ILIAS\Repository\ctrl().
Referenced by insertFromRepository(), insertFromWorkspace(), newItemAfter(), and newItemBefore().
|
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().