|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilPCFileListGUI:
Collaboration diagram for ilPCFileListGUI: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... | |
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 () | |
| 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 |
Protected Attributes inherited from ilPageContentGUI | |
| 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 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 = "" |
| php4DOMDocument | $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 () | |
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 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 = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
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().
Here is the call graph for this function:| 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.
| ilPCFileListGUI::afterCreation | ( | ) |
Definition at line 262 of file class.ilPCFileListGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCFileListGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 569 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::create | ( | ) |
create new file list in dom and update page in db
Definition at line 196 of file class.ilPCFileListGUI.php.
References $DIC.
| ilPCFileListGUI::createFileItem | ( | ) |
insert new file item
Definition at line 677 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::deleteFileItem | ( | ) |
Delete file items from list.
Definition at line 520 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::edit | ( | ) |
edit properties form
Definition at line 274 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::executeCommand | ( | ) |
execute command
Definition at line 58 of file class.ilPCFileListGUI.php.
References ILIAS\Repository\ctrl(), and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:| ilPCFileListGUI::initEditForm | ( | string | $a_mode = "edit" | ) |
Init edit form.
Definition at line 285 of file class.ilPCFileListGUI.php.
References $ilUser, $lang, $lng, ilMDLanguageItem\_getLanguages(), ilTree\getNodeData(), and ILIAS\Repository\int().
Referenced by insert(), and selectFile().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::insertFromWorkspace | ( | string | $a_cmd = "insert" | ) |
Insert file from personal workspace.
Definition at line 165 of file class.ilPCFileListGUI.php.
References setTabs().
Referenced by insert().
Here is the call graph for this function:
Here is the caller graph for this function:| 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, ILIAS\Repository\ctrl(), and ilTree\getNodeData().
Here is the call graph for this function:| ilPCFileListGUI::newFileItem | ( | ) |
New file item (called, if there is no file item in an existing)
Definition at line 595 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::savePositions | ( | ) |
Save positions of file items.
Definition at line 535 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::savePositionsAndClasses | ( | ) |
Save positions of file items and style classes.
Definition at line 550 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 390 of file class.ilPCFileListGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCFileListGUI::selectFile | ( | ) |
Definition at line 120 of file class.ilPCFileListGUI.php.
References $tabs, ilPageContentGUI\displayValidationError(), initEditForm(), and setTabs().
Referenced by insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::setItemTabs | ( | string | $a_cmd = "" | ) |
output tabs
Definition at line 717 of file class.ilPCFileListGUI.php.
References $ilSetting, ILIAS\LTI\ToolProvider\$settings, and ILIAS\Repository\ctrl().
Referenced by insertFromRepository().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::setTabs | ( | bool | $a_create = true | ) |
Set Tabs.
Definition at line 433 of file class.ilPCFileListGUI.php.
References $ilSetting, $lng, and ILIAS\LTI\ToolProvider\$settings.
Referenced by insert(), insertFromRepository(), insertFromWorkspace(), and selectFile().
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilPCFileListGUI.php.
|
protected |
Definition at line 32 of file class.ilPCFileListGUI.php.
|
protected |
Definition at line 29 of file class.ilPCFileListGUI.php.
Referenced by insert(), insertFromRepository(), and selectFile().
|
protected |
Definition at line 31 of file class.ilPCFileListGUI.php.
|
protected |
Definition at line 30 of file class.ilPCFileListGUI.php.
|
protected |
Definition at line 28 of file class.ilPCFileListGUI.php.