|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilPCListGUI. More...
Inheritance diagram for ilPCFileListGUI:
Collaboration diagram for ilPCFileListGUI:Public Member Functions | |
| ilPCFileListGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| & | executeCommand () |
| execute command More... | |
| insert () | |
| 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 | |
| ilPageContentGUI ($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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $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... | |
Protected Attributes inherited from ilPageContentGUI | |
| $log | |
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::addFileItem | ( | ) |
Add file item.
This function is called from file list table and calls newItemAfter function.
Definition at line 510 of file class.ilPCFileListGUI.php.
References $ilCtrl.
| ilPCFileListGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 587 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 241 of file class.ilPCFileListGUI.php.
References $_POST, $_SESSION, ilPageContentGUI\getPage(), initEditForm(), insert(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCFileListGUI::createFileItem | ( | ) |
insert new file item
Definition at line 714 of file class.ilPCFileListGUI.php.
References $_GET, 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 533 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::edit | ( | ) |
edit properties form
Definition at line 299 of file class.ilPCFileListGUI.php.
References 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 447 of file class.ilPCFileListGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, and setTabs().
Here is the call graph for this function:| & ilPCFileListGUI::executeCommand | ( | ) |
execute command
Definition at line 33 of file class.ilPCFileListGUI.php.
References $cmd, $ret, and ilPageContentGUI\getCharacteristicsOfCurrentStyle().
Here is the call graph for this function:| ilPCFileListGUI::ilPCFileListGUI | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Definition at line 24 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\setCharacteristics().
Here is the call graph for this function:| ilPCFileListGUI::initEditForm | ( | $a_mode = "edit" | ) |
Init edit form.
| int | $a_mode | Edit Mode |
Definition at line 312 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilUser, $lang, ilPageContentGUI\$lng, $si, 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 | ( | ) |
insert new file list form
Definition at line 56 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $ilUser, 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 123 of file class.ilPCFileListGUI.php.
References $_GET, $ilCtrl, ilPageContentGUI\$tpl, IL_FM_POSITIVE, 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 177 of file class.ilPCFileListGUI.php.
References $_GET, $ilCtrl, $ilUser, ilPageContentGUI\$tpl, IL_FM_POSITIVE, ilWorkspaceExplorer\SEL_TYPE_RADIO, 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 669 of file class.ilPCFileListGUI.php.
References $_GET, $ilUser, 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 619 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, 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 553 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::savePositionsAndClasses | ( | ) |
Save positions of file items and style classes.
Definition at line 568 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::saveProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 428 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 107 of file class.ilPCFileListGUI.php.
References $ilUser, 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 751 of file class.ilPCFileListGUI.php.
References $ilCtrl, and $ilSetting.
Referenced by insertFromRepository(), insertFromWorkspace(), and newFileItem().
Here is the caller graph for this function:| ilPCFileListGUI::setTabs | ( | $a_create = true | ) |
Set Tabs.
Definition at line 464 of file class.ilPCFileListGUI.php.
References $cmd, $ilCtrl, $ilSetting, and ilPageContentGUI\$lng.
Referenced by edit(), editFiles(), insert(), insertFromRepository(), insertFromWorkspace(), and selectFile().
Here is the caller graph for this function: