|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPCFileItemGUI. More...
Inheritance diagram for ilPCFileItemGUI:
Collaboration diagram for ilPCFileItemGUI:Public Member Functions | |
| __construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| newFileItem () | |
| insert new file item More... | |
| newItemAfter () | |
| insert new list item after current one More... | |
| initAddFileForm ($a_before=true) | |
| Init add file form. More... | |
| insertFromRepository ($a_cmd) | |
| Insert file from repository. More... | |
| insertFromWorkspace ($a_cmd="insert") | |
| Insert file from personal workspace. More... | |
| insertNewItemAfter ($a_file_ref_id=0) | |
| insert new file item after another item More... | |
| newItemBefore () | |
| insert new list item before current one More... | |
| insertNewItemBefore ($a_file_ref_id=0) | |
| insert new list item before current one More... | |
| deleteItem () | |
| delete a list item More... | |
| setTabs ($a_cmd="") | |
| output tabs More... | |
| moveItemDown () | |
| move list item down More... | |
| moveItemUp () | |
| move list item up More... | |
| cancelAddFile () | |
| Cancel adding a file. 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 | |
| $tabs | |
| $user | |
| $tree | |
| $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 ilPCFileItemGUI.
Handles user commands on items of file lists
Definition at line 37 of file class.ilPCFileItemGUI.php.
| ilPCFileItemGUI::__construct | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Definition at line 64 of file class.ilPCFileItemGUI.php.
References $DIC, settings(), and user().
Here is the call graph for this function:| ilPCFileItemGUI::cancelAddFile | ( | ) |
Cancel adding a file.
Definition at line 501 of file class.ilPCFileItemGUI.php.
| ilPCFileItemGUI::deleteItem | ( | ) |
delete a list item
Definition at line 426 of file class.ilPCFileItemGUI.php.
References $_SESSION.
| ilPCFileItemGUI::executeCommand | ( | ) |
execute command
Definition at line 81 of file class.ilPCFileItemGUI.php.
References $ret.
| ilPCFileItemGUI::initAddFileForm | ( | $a_before = true | ) |
Init add file form.
Definition at line 202 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $form, $ilCtrl, $ilUser, ilPageContentGUI\$lng, and $user.
Referenced by newFileItem(), newItemAfter(), and newItemBefore().
Here is the caller graph for this function:| ilPCFileItemGUI::insertFromRepository | ( | $a_cmd | ) |
Insert file from repository.
Definition at line 234 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $tabs, ilPageContentGUI\$tpl, and setTabs().
Referenced by newItemAfter(), and newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertFromWorkspace | ( | $a_cmd = "insert" | ) |
Insert file from personal workspace.
Definition at line 260 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ilUser, $tabs, ilPageContentGUI\$tpl, $tree, $user, setTabs(), and user().
Referenced by newItemAfter(), and newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertNewItemAfter | ( | $a_file_ref_id = 0 | ) |
insert new file item after another item
Definition at line 287 of file class.ilPCFileItemGUI.php.
References $_GET, $ilUser, $res, $tree, $user, newFileItem(), and newItemAfter().
Referenced by newItemAfter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::insertNewItemBefore | ( | $a_file_ref_id = 0 | ) |
insert new list item before current one
Definition at line 388 of file class.ilPCFileItemGUI.php.
References $_GET, $ilUser, $res, $tree, $user, newFileItem(), and newItemBefore().
Referenced by newItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::moveItemDown | ( | ) |
move list item down
Definition at line 481 of file class.ilPCFileItemGUI.php.
References $_SESSION.
| ilPCFileItemGUI::moveItemUp | ( | ) |
move list item up
Definition at line 491 of file class.ilPCFileItemGUI.php.
References $_SESSION.
| ilPCFileItemGUI::newFileItem | ( | ) |
insert new file item
Definition at line 100 of file class.ilPCFileItemGUI.php.
References $_GET, $form, ilPageContentGUI\$lng, initAddFileForm(), and ilUtil\sendFailure().
Referenced by insertNewItemAfter(), and insertNewItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::newItemAfter | ( | ) |
insert new list item after current one
Definition at line 139 of file class.ilPCFileItemGUI.php.
References $_GET, $_SESSION, $form, $tabs, ilPageContentGUI\displayValidationError(), initAddFileForm(), insertFromRepository(), insertFromWorkspace(), insertNewItemAfter(), and setTabs().
Referenced by insertNewItemAfter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::newItemBefore | ( | ) |
insert new list item before current one
Definition at line 325 of file class.ilPCFileItemGUI.php.
References $_GET, $_SESSION, $form, $tabs, ilPageContentGUI\displayValidationError(), initAddFileForm(), insertFromRepository(), insertFromWorkspace(), insertNewItemBefore(), and setTabs().
Referenced by insertNewItemBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCFileItemGUI::setTabs | ( | $a_cmd = "" | ) |
output tabs
Definition at line 436 of file class.ilPCFileItemGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ilSetting, $settings, and $tabs.
Referenced by insertFromRepository(), insertFromWorkspace(), newItemAfter(), and newItemBefore().
Here is the caller graph for this function:
|
protected |
Definition at line 57 of file class.ilPCFileItemGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 42 of file class.ilPCFileItemGUI.php.
Referenced by insertFromRepository(), insertFromWorkspace(), newItemAfter(), newItemBefore(), and setTabs().
|
protected |
Definition at line 52 of file class.ilPCFileItemGUI.php.
Referenced by insertFromWorkspace(), insertNewItemAfter(), and insertNewItemBefore().
|
protected |
Definition at line 47 of file class.ilPCFileItemGUI.php.
Referenced by initAddFileForm(), insertFromWorkspace(), insertNewItemAfter(), and insertNewItemBefore().