|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilPCListGUI. More...
Inheritance diagram for ilPCFileListGUI:
Collaboration diagram for ilPCFileListGUI:Public Member Functions | |
| __construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| insert ($a_form=null) | |
| insert new file list form More... | |
| selectFile () | |
| Select file. More... | |
| insertFromRepository ($a_cmd="insert") | |
| Insert file from repository. More... | |
| insertFromWorkspace ($a_cmd="insert") | |
| Insert file from personal workspace. More... | |
| create () | |
| create new file list in dom and update page in db More... | |
| edit () | |
| edit properties form More... | |
| initEditForm ($a_mode="edit") | |
| Init edit form. More... | |
| saveProperties () | |
| save table properties in db and return to page edit screen More... | |
| editFiles () | |
| Edit Files. More... | |
| setTabs ($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 ($a_file_ref_id=0) | |
| insert new file item after another item More... | |
| createFileItem () | |
| insert new file item More... | |
| setItemTabs ($a_cmd="") | |
| output tabs More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor @access public. More... | |
| setContentObject ($a_val) | |
| Set content object. More... | |
| getContentObject () | |
| Get content object. More... | |
| setPage ($a_val) | |
| Set page. More... | |
| getPage () | |
| Get page. More... | |
| setPageConfig ($a_val) | |
| Set Page Config. More... | |
| getPageConfig () | |
| Get Page Config. More... | |
| setStyleId ($a_styleid) | |
| Set Style Id. More... | |
| getStyleId () | |
| Get Style Id. More... | |
| getStyle () | |
| Get style object. More... | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. More... | |
| getCharacteristics () | |
| Get characteristics. More... | |
| getHierId () | |
| get hierarchical id in dom object More... | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object More... | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. More... | |
| delete () | |
| delete content element More... | |
| 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 () | |
| display validation errors More... | |
| 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 ($a_type) | |
| Get table templates. More... | |
Protected Attributes | |
| $user | |
| $tabs | |
| $tree | |
| $toolbar | |
| $settings | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Static Public Attributes inherited from ilPageContentGUI | |
| static | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. More... | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCListGUI.
User Interface for LM List Editing
Definition at line 17 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::__construct | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Definition at line 49 of file class.ilPCFileListGUI.php.
References $DIC, ilPageContentGUI\setCharacteristics(), settings(), and 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 511 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $files, and $ilCtrl.
| ilPCFileListGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 586 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\getCharacteristics().
Here is the call graph for this function:| ilPCFileListGUI::create | ( | ) |
create new file list in dom and update page in db
Definition at line 220 of file class.ilPCFileListGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $form, ilPageContentGUI\getPage(), initEditForm(), insert(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCFileListGUI::createFileItem | ( | ) |
insert new file item
Definition at line 703 of file class.ilPCFileListGUI.php.
References $_GET, $DIC, $form, ilPageContentGUI\$lng, initEditForm(), and ilUtil\sendFailure().
Referenced by insertNewFileItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::deleteFileItem | ( | ) |
Delete file items from list.
Definition at line 537 of file class.ilPCFileListGUI.php.
References $_POST, ilPageContentGUI\$ctrl, and $ilCtrl.
| ilPCFileListGUI::edit | ( | ) |
edit properties form
Definition at line 292 of file class.ilPCFileListGUI.php.
References $form, initEditForm(), and setTabs().
Referenced by saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::editFiles | ( | ) |
Edit Files.
Definition at line 428 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $toolbar, ilPageContentGUI\$tpl, and setTabs().
Here is the call graph for this function:| ilPCFileListGUI::executeCommand | ( | ) |
execute command
Definition at line 68 of file class.ilPCFileListGUI.php.
References $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:| ilPCFileListGUI::initEditForm | ( | $a_mode = "edit" | ) |
Init edit form.
| int | $a_mode | Edit Mode |
Definition at line 305 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, ilPageContentGUI\$ctrl, $form, $ilCtrl, $ilUser, $lang, ilPageContentGUI\$lng, $si, $tree, $user, and ilMDLanguageItem\_getLanguages().
Referenced by create(), createFileItem(), edit(), insert(), newFileItem(), and selectFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::insert | ( | $a_form = null | ) |
insert new file list form
Definition at line 90 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $form, $ilUser, $tabs, $user, ilPageContentGUI\displayValidationError(), initEditForm(), insertFromRepository(), insertFromWorkspace(), selectFile(), and setTabs().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::insertFromRepository | ( | $a_cmd = "insert" | ) |
Insert file from repository.
Definition at line 157 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $tabs, ilPageContentGUI\$tpl, setItemTabs(), and setTabs().
Referenced by insert(), and newFileItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::insertFromWorkspace | ( | $a_cmd = "insert" | ) |
Insert file from personal workspace.
Definition at line 188 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ilUser, $tabs, ilPageContentGUI\$tpl, $tree, $user, setItemTabs(), and setTabs().
Referenced by insert(), and newFileItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::insertNewFileItem | ( | $a_file_ref_id = 0 | ) |
insert new file item after another item
Definition at line 660 of file class.ilPCFileListGUI.php.
References $_GET, $ilUser, $tree, $user, createFileItem(), and newFileItem().
Referenced by newFileItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::newFileItem | ( | ) |
New file item (called, if there is no file item in an existing)
return
Definition at line 615 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $form, $tabs, ilPageContentGUI\displayValidationError(), initEditForm(), insertFromRepository(), insertFromWorkspace(), insertNewFileItem(), and setItemTabs().
Referenced by insertNewFileItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileListGUI::savePositions | ( | ) |
Save positions of file items.
Definition at line 555 of file class.ilPCFileListGUI.php.
References $_POST, ilPageContentGUI\$ctrl, and $ilCtrl.
| ilPCFileListGUI::savePositionsAndClasses | ( | ) |
Save positions of file items and style classes.
Definition at line 569 of file class.ilPCFileListGUI.php.
References $_POST, ilPageContentGUI\$ctrl, and $ilCtrl.
| ilPCFileListGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 410 of file class.ilPCFileListGUI.php.
References $_POST, edit(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCFileListGUI::selectFile | ( | ) |
Select file.
Definition at line 140 of file class.ilPCFileListGUI.php.
References $form, $ilUser, $tabs, $user, 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 | ( | $a_cmd = "" | ) |
output tabs
Definition at line 743 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ilSetting, $settings, and $tabs.
Referenced by insertFromRepository(), insertFromWorkspace(), and newFileItem().
Here is the caller graph for this function:| ilPCFileListGUI::setTabs | ( | $a_create = true | ) |
Set Tabs.
Definition at line 450 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ilSetting, ilPageContentGUI\$lng, $settings, and $tabs.
Referenced by edit(), editFiles(), insert(), insertFromRepository(), insertFromWorkspace(), and selectFile().
Here is the caller graph for this function:
|
protected |
Definition at line 42 of file class.ilPCFileListGUI.php.
Referenced by setItemTabs(), and setTabs().
|
protected |
Definition at line 27 of file class.ilPCFileListGUI.php.
Referenced by insert(), insertFromRepository(), insertFromWorkspace(), newFileItem(), selectFile(), setItemTabs(), and setTabs().
|
protected |
Definition at line 37 of file class.ilPCFileListGUI.php.
Referenced by editFiles().
|
protected |
Definition at line 32 of file class.ilPCFileListGUI.php.
Referenced by initEditForm(), insertFromWorkspace(), and insertNewFileItem().
|
protected |
Definition at line 22 of file class.ilPCFileListGUI.php.
Referenced by initEditForm(), insert(), insertFromWorkspace(), insertNewFileItem(), and selectFile().