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 () | |
execute command More... | |
insert (ilPropertyFormGUI $a_form=null) | |
insert new file list form More... | |
selectFile () | |
insertFromRepository (string $a_cmd="insert") | |
Insert file from repository. More... | |
insertFromWorkspace (string $a_cmd="insert") | |
Insert file from personal workspace. More... | |
create () | |
create new file list in dom and update page in db More... | |
afterCreation () | |
edit () | |
edit properties form More... | |
initEditForm (string $a_mode="edit") | |
Init edit form. More... | |
saveProperties () | |
save table properties in db and return to page edit screen More... | |
setTabs (bool $a_create=true) | |
Set Tabs. More... | |
addFileItem () | |
Add file item. More... | |
deleteFileItem () | |
Delete file items from list. More... | |
savePositions () | |
Save positions of file items. More... | |
savePositionsAndClasses () | |
Save positions of file items and style classes. More... | |
checkStyleSelection () | |
Checks whether style selection shoudl be available or not. More... | |
newFileItem () | |
New file item (called, if there is no file item in an existing) More... | |
insertNewFileItem (int $a_file_ref_id=0) | |
insert new file item after another item More... | |
createFileItem () | |
insert new file item More... | |
setItemTabs (string $a_cmd="") | |
output tabs 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 | |
string | $requested_file_ref_id |
ilObjUser | $user |
ilTabsGUI | $tabs |
ilTree | $tree |
ilToolbarGUI | $toolbar |
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 ilPCListGUI
User Interface for LM List Editing
Definition at line 25 of file class.ilPCFileListGUI.php.
ilPCFileListGUI::__construct | ( | ilPageObject | $a_pg_obj, |
?ilPageContent | $a_content_obj, | ||
string | $a_hier_id, | ||
string | $a_pc_id = "" |
||
) |
Definition at line 34 of file class.ilPCFileListGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilPCFileListGUI::addFileItem | ( | ) |
Add file item.
This function is called from file list table and calls newItemAfter function.
Definition at line 494 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\setParameterByClass().
ilPCFileListGUI::afterCreation | ( | ) |
Definition at line 262 of file class.ilPCFileListGUI.php.
References ILIAS\Repository\ctrl().
Referenced by create().
ilPCFileListGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 569 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$chars, and ilPageContentGUI\getCharacteristics().
ilPCFileListGUI::create | ( | ) |
create new file list in dom and update page in db
Definition at line 196 of file class.ilPCFileListGUI.php.
References $DIC, afterCreation(), ilPageContentGUI\getPage(), initEditForm(), insert(), and ilPageContentGUI\setCurrentTextLang().
ilPCFileListGUI::createFileItem | ( | ) |
insert new file item
Definition at line 677 of file class.ilPCFileListGUI.php.
References $DIC, ilPageContentGUI\$lng, initEditForm(), and ilLanguage\txt().
Referenced by insertNewFileItem().
ilPCFileListGUI::deleteFileItem | ( | ) |
Delete file items from list.
Definition at line 520 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\redirect().
ilPCFileListGUI::edit | ( | ) |
edit properties form
Definition at line 274 of file class.ilPCFileListGUI.php.
References initEditForm(), and setTabs().
Referenced by saveProperties().
ilPCFileListGUI::executeCommand | ( | ) |
execute command
Definition at line 58 of file class.ilPCFileListGUI.php.
References ILIAS\Repository\ctrl(), and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
ilPCFileListGUI::initEditForm | ( | string | $a_mode = "edit" | ) |
Init edit form.
Definition at line 285 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilUser, $lang, ilPageContentGUI\$lng, $user, ilMDLanguageItem\_getLanguages(), ilPageContentGUI\getCurrentTextLang(), ilTree\getNodeData(), ILIAS\Repository\int(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by create(), createFileItem(), edit(), insert(), newFileItem(), saveProperties(), and selectFile().
ilPCFileListGUI::insert | ( | ilPropertyFormGUI | $a_form = null | ) |
insert new file list form
Definition at line 78 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$sub_command, $tabs, ilPageContentGUI\displayValidationError(), initEditForm(), insertFromRepository(), insertFromWorkspace(), selectFile(), and setTabs().
Referenced by create().
ilPCFileListGUI::insertFromRepository | ( | string | $a_cmd = "insert" | ) |
Insert file from repository.
Definition at line 135 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), setItemTabs(), and setTabs().
Referenced by insert(), and newFileItem().
ilPCFileListGUI::insertFromWorkspace | ( | string | $a_cmd = "insert" | ) |
Insert file from personal workspace.
Definition at line 165 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilUser, $tabs, ilPageContentGUI\$tpl, $user, ilGlobalTemplateInterface\setContent(), ilWorkspaceExplorerGUI\setCustomLinkTarget(), setItemTabs(), and setTabs().
Referenced by insert(), and newFileItem().
ilPCFileListGUI::insertNewFileItem | ( | int | $a_file_ref_id = 0 | ) |
insert new file item after another item
Definition at line 636 of file class.ilPCFileListGUI.php.
References $ilUser, $user, createFileItem(), ILIAS\Repository\ctrl(), ilTree\getNodeData(), and newFileItem().
Referenced by newFileItem().
ilPCFileListGUI::newFileItem | ( | ) |
New file item (called, if there is no file item in an existing)
Definition at line 595 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$sub_command, $tabs, ilPageContentGUI\displayValidationError(), initEditForm(), insertFromRepository(), insertFromWorkspace(), insertNewFileItem(), and setItemTabs().
Referenced by insertNewFileItem().
ilPCFileListGUI::savePositions | ( | ) |
Save positions of file items.
Definition at line 535 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\redirect().
ilPCFileListGUI::savePositionsAndClasses | ( | ) |
Save positions of file items and style classes.
Definition at line 550 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\redirect().
ilPCFileListGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 390 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$content_obj, ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $toolbar, ilPageContentGUI\$tpl, ILIAS\Repository\ctrl(), edit(), initEditForm(), ilGlobalTemplateInterface\setContent(), setTabs(), and ilLanguage\txt().
ilPCFileListGUI::selectFile | ( | ) |
Definition at line 120 of file class.ilPCFileListGUI.php.
References $tabs, ilPageContentGUI\displayValidationError(), initEditForm(), and setTabs().
Referenced by insert().
ilPCFileListGUI::setItemTabs | ( | string | $a_cmd = "" | ) |
output tabs
Definition at line 717 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilSetting, $settings, $tabs, and ILIAS\Repository\ctrl().
Referenced by insertFromRepository(), insertFromWorkspace(), and newFileItem().
ilPCFileListGUI::setTabs | ( | bool | $a_create = true | ) |
Set Tabs.
Definition at line 433 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilSetting, ilPageContentGUI\$lng, $settings, $tabs, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Referenced by edit(), insert(), insertFromRepository(), insertFromWorkspace(), saveProperties(), and selectFile().
|
protected |
Definition at line 27 of file class.ilPCFileListGUI.php.
|
protected |
Definition at line 32 of file class.ilPCFileListGUI.php.
Referenced by setItemTabs(), and setTabs().
|
protected |
Definition at line 29 of file class.ilPCFileListGUI.php.
Referenced by insert(), insertFromRepository(), insertFromWorkspace(), newFileItem(), selectFile(), setItemTabs(), and setTabs().
|
protected |
Definition at line 31 of file class.ilPCFileListGUI.php.
Referenced by saveProperties().
|
protected |
Definition at line 30 of file class.ilPCFileListGUI.php.
|
protected |
Definition at line 28 of file class.ilPCFileListGUI.php.
Referenced by initEditForm(), insertFromWorkspace(), and insertNewFileItem().