| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilPCListGUI. More...
 Inheritance diagram for ilPCFileListGUI:
 Inheritance diagram for ilPCFileListGUI: Collaboration diagram for ilPCFileListGUI:
 Collaboration diagram for ilPCFileListGUI:| Public Member Functions | |
| ilPCFileListGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor  public. | |
| & | executeCommand () | 
| execute command | |
| insert () | |
| insert new file list form | |
| selectFile () | |
| Select file. | |
| insertFromRepository ($a_cmd="insert") | |
| Insert file from repository. | |
| insertFromWorkspace ($a_cmd="insert") | |
| Insert file from personal workspace. | |
| create () | |
| create new file list in dom and update page in db | |
| edit () | |
| edit properties form | |
| initEditForm ($a_mode="edit") | |
| Init edit form. | |
| saveProperties () | |
| save table properties in db and return to page edit screen | |
| editFiles () | |
| Edit Files. | |
| setTabs ($a_create=true) | |
| Set Tabs. | |
| addFileItem () | |
| Add file item. | |
| deleteFileItem () | |
| Delete file items from list. | |
| savePositions () | |
| Save positions of file items. | |
| savePositionsAndClasses () | |
| Save positions of file items and style classes. | |
| checkStyleSelection () | |
| Checks whether style selection shoudl be available or not. | |
| newFileItem () | |
| New file item (called, if there is no file item in an existing) | |
| insertNewFileItem ($a_file_ref_id=0) | |
| insert new file item after another item | |
| createFileItem () | |
| insert new file item | |
| setItemTabs ($a_cmd="") | |
| output tabs | |
|  Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor  public. | |
| setContentObject ($a_val) | |
| Set content object. | |
| getContentObject () | |
| Get content object. | |
| setPage ($a_val) | |
| Set page. | |
| getPage () | |
| Get page. | |
| setPageConfig ($a_val) | |
| Set Page Config. | |
| getPageConfig () | |
| Get Page Config. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| getStyle () | |
| Get style object. | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. | |
| getCharacteristics () | |
| Get characteristics. | |
| getHierId () | |
| get hierarchical id in dom object | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. | |
| delete () | |
| delete content element | |
| moveAfter () | |
| move content element after another element | |
| moveBefore () | |
| move content element before another element | |
| splitPage () | |
| split page to new page at specified position | |
| splitPageNext () | |
| split page to next page at specified position | |
| displayValidationError () | |
| display validation errors | |
| cancelCreate () | |
| cancel creating page content | |
| cancelUpdate () | |
| cancel update | |
| cancel () | |
| Cancel. | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa | |
| cut () | |
| Cut single element. | |
| copy () | |
| Copy single element. | |
| getTemplateOptions ($a_type) | |
| Get table templates. | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () | 
| Get common bb buttons. | |
|  Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
|  Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. | |
|  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 507 of file class.ilPCFileListGUI.php.
References $ilCtrl.
| ilPCFileListGUI::checkStyleSelection | ( | ) | 
Checks whether style selection shoudl be available or not.
Definition at line 584 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\getCharacteristics().
 Here is the call graph for this function:
 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(), insert(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCFileListGUI::createFileItem | ( | ) | 
insert new file item
Definition at line 711 of file class.ilPCFileListGUI.php.
References $_GET, ilPageContentGUI\$lng, and ilUtil\sendFailure().
Referenced by insertNewFileItem().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCFileListGUI::deleteFileItem | ( | ) | 
Delete file items from list.
Definition at line 530 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::edit | ( | ) | 
edit properties form
Definition at line 296 of file class.ilPCFileListGUI.php.
References initEditForm(), and setTabs().
Referenced by saveProperties().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCFileListGUI::editFiles | ( | ) | 
Edit Files.
Definition at line 444 of file class.ilPCFileListGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, and setTabs().
 Here is the call graph for this function:
 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:
 Here is the call graph for this function:| ilPCFileListGUI::ilPCFileListGUI | ( | & | $a_pg_obj, | 
| & | $a_content_obj, | ||
| $a_hier_id, | |||
| $a_pc_id = "" | |||
| ) | 
Constructor public.
Definition at line 24 of file class.ilPCFileListGUI.php.
References ilPageContentGUI\ilPageContentGUI(), and ilPageContentGUI\setCharacteristics().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCFileListGUI::initEditForm | ( | $a_mode = "edit" | ) | 
Init edit form.
| int | $a_mode | Edit Mode | 
Definition at line 309 of file class.ilPCFileListGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilUser, $lang, ilPageContentGUI\$lng, $si, ilMDLanguageItem\_getLanguages(), ilTree\getNodeData(), ilTextInputGUI\setMaxLength(), and ilFormPropertyGUI\setRequired().
Referenced by edit(), insert(), newFileItem(), and selectFile().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 call graph for this function: Here is the caller 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 call graph for this function: Here is the caller 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 call graph for this function: Here is the caller 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 666 of file class.ilPCFileListGUI.php.
References $_GET, $ilUser, createFileItem(), ilTree\getNodeData(), and newFileItem().
Referenced by newFileItem().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 616 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCFileListGUI::savePositions | ( | ) | 
Save positions of file items.
Definition at line 550 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::savePositionsAndClasses | ( | ) | 
Save positions of file items and style classes.
Definition at line 565 of file class.ilPCFileListGUI.php.
| ilPCFileListGUI::saveProperties | ( | ) | 
save table properties in db and return to page edit screen
Definition at line 425 of file class.ilPCFileListGUI.php.
References $_POST, edit(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCFileListGUI::setItemTabs | ( | $a_cmd = "" | ) | 
output tabs
Definition at line 744 of file class.ilPCFileListGUI.php.
References $ilCtrl, and $ilSetting.
Referenced by insertFromRepository(), insertFromWorkspace(), and newFileItem().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCFileListGUI::setTabs | ( | $a_create = true | ) | 
Set Tabs.
Definition at line 461 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:
 Here is the caller graph for this function: