ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This class allows quick editing of a chapter/sco/page hierarchy. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getMenuItems ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs=null) | |
Get menu items. More... | |
nodeAllowsChilds ($a_node) | |
Which nodes allow child nodes? More... | |
manageDragAndDrop ($a_node, $a_depth, $a_first_child_drop_area=false, $a_next_sibling=null, $a_childs=null) | |
Makes nodes drag and drop content and targets. More... | |
getChildCommands ($a_item) | |
Get item commands. More... | |
getChildIconAlt ($a_item) | |
Get icon alt text for an item. More... | |
Public Member Functions inherited from ilHierarchyFormGUI | |
__construct () | |
Constructor. More... | |
setParentCommand ($a_parent_obj, $a_parent_cmd) | |
Set parent gui object/cmd. More... | |
getParentObject () | |
Get Parent object. More... | |
getParentCommand () | |
Get parent command. More... | |
setId ($a_id) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setTree ($a_tree) | |
Set Tree Object. More... | |
getTree () | |
Get Tree Object. More... | |
setCurrentTopNodeId ($a_currenttopnodeid) | |
Set Current Top Node ID. More... | |
getCurrentTopNodeId () | |
Get Current Top Node ID. More... | |
setTitle ($a_title) | |
Set Title. More... | |
getTitle () | |
Get Title. More... | |
setIcon ($a_icon) | |
Set Icon. More... | |
getIcon () | |
Get Icon. More... | |
setCheckboxName ($a_checkboxname) | |
Set Checkbox Name. More... | |
getCheckboxName () | |
Get Checkbox Name. More... | |
setDragIcon ($a_dragicon) | |
Set Drag Icon Path. More... | |
getDragIcon () | |
Get Drag Icon Path. More... | |
setMaxDepth ($a_maxdepth) | |
Set Maximum Depth. More... | |
getMaxDepth () | |
Get Maximum Depth. More... | |
setExplorerUpdater ($a_exp_frame, $a_exp_id, $a_exp_target_script) | |
Set Explorer Updater. More... | |
setTriggeredUpdateCommand ($a_triggered_update_command) | |
Set Explorer Updater. More... | |
addHelpItem ($a_text, $a_image="") | |
Get all help items. More... | |
getHelpItems () | |
Get all help items. More... | |
makeDragTarget ($a_id, $a_group, $a_first_child_drop_area=false, $a_as_subitem=false, $a_diss_text="") | |
Makes a nodes (following droparea) a drag target. More... | |
makeDragContent ($a_id, $a_group) | |
Makes a node a drag content. More... | |
addMultiCommand ($a_txt, $a_cmd) | |
Add a multi command (for selection of items) More... | |
addCommand ($a_txt, $a_cmd) | |
Add a command. More... | |
setHighlightedNodes ($a_val) | |
Set highlighted nodes. More... | |
getHighlightedNodes () | |
Get highlighted nodes. More... | |
setFocusId ($a_val) | |
Set focus if. More... | |
getFocusId () | |
Get focus id. More... | |
setExpandVariable ($a_val) | |
Set expand variable. More... | |
getExpandVariable () | |
Get expand variable. More... | |
setExpanded ($a_val) | |
Set expanded Array. More... | |
getExpanded () | |
Get expanded array. More... | |
updateExpanded () | |
Update expand information in session. More... | |
setTypeWhiteList ($a_val) | |
Set type whitelist. More... | |
getTypeWhiteList () | |
Get type whitelist. More... | |
getChilds ($a_node_id=false) | |
Get all childs of current node. More... | |
getContent () | |
Get Form Content. More... | |
getLegend () | |
Get Legend. More... | |
getLevelHTML ($a_par_node, $a_depth, &$a_childs) | |
Get Form HTML. More... | |
renderChild ($a_tpl, $a_child, $a_depth, $next_sibling=null) | |
Render a single child (including grandchilds) More... | |
getChildIcon ($a_item) | |
Get icon path for an item. More... | |
getChildIconAlt ($a_item) | |
Get icon alt text for an item. More... | |
getChildCommands ($a_item) | |
Get item commands. More... | |
getChildTitle ($a_child) | |
Get child title. More... | |
getChildInfo ($a_child) | |
Get child info. More... | |
getMenuItems ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs=null) | |
Get menu items for drop area of node. More... | |
nodeAllowsChilds ($a_node) | |
Checks, whether current nodes allows childs at all. More... | |
manageDragAndDrop ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs=null) | |
Makes nodes drag and drop content and targets. More... | |
getHTML () | |
Get HTML. More... | |
Public Member Functions inherited from ilFormGUI | |
setFormAction ($a_formaction) | |
Set FormAction. More... | |
getFormAction () | |
Get FormAction. More... | |
setTarget ($a_target) | |
Set Target. More... | |
getTarget () | |
Get Target. More... | |
setMultipart ($a_multipart) | |
Set Enctype Multipart/Formdata true/false. More... | |
getMultipart () | |
Get Enctype Multipart/Formdata true/false. More... | |
setId ($a_id) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setName ($a_name) | |
Set Name. More... | |
getName () | |
Get Name. More... | |
setKeepOpen ($a_keepopen) | |
Set Keep Form Tag Open. More... | |
getKeepOpen () | |
Get Keep Form Tag Open. More... | |
setOpenTag ($a_open) | |
Enable/Disable Open Form Tag. More... | |
getOpenTag () | |
Get Open Form Tag Enabled. More... | |
setCloseTag ($a_val) | |
Set close tag. More... | |
getCloseTag () | |
Get close tag. More... | |
setPreventDoubleSubmission ($a_val) | |
Set prevent double submission. More... | |
getPreventDoubleSubmission () | |
Get prevent double submission. More... | |
getHTML () | |
Get HTML. More... | |
getContent () | |
Get Content. More... | |
Protected Attributes | |
$user | |
Protected Attributes inherited from ilHierarchyFormGUI | |
$lng | |
$tpl | |
$ctrl | |
Protected Attributes inherited from ilFormGUI | |
$formaction | |
$multipart = false | |
$keepopen = false | |
$opentag = true | |
$id | |
$name | |
$prevent_double_submission = false | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilHierarchyFormGUI | |
static | getPostMulti () |
Get multi number of _POST input. More... | |
static | getPostNodeId () |
Get node ID of _POST input. More... | |
static | getPostFirstChild () |
Should node be inserted as first child of target node (true) or as successor (false) More... | |
static | getPostFields () |
Get all post fields. More... | |
This class allows quick editing of a chapter/sco/page hierarchy.
Definition at line 13 of file class.ilSCORM2004OrganizationHFormGUI.php.
ilSCORM2004OrganizationHFormGUI::__construct | ( | ) |
Constructor.
Definition at line 25 of file class.ilSCORM2004OrganizationHFormGUI.php.
References $DIC, ilHierarchyFormGUI\$lng, ilHierarchyFormGUI\setCheckboxName(), ilHierarchyFormGUI\setExpandVariable(), and user().
ilSCORM2004OrganizationHFormGUI::getChildCommands | ( | $a_item | ) |
Get item commands.
array | item array |
Definition at line 399 of file class.ilSCORM2004OrganizationHFormGUI.php.
References ilHierarchyFormGUI\$ctrl, $ilCtrl, and ilHierarchyFormGUI\$lng.
ilSCORM2004OrganizationHFormGUI::getChildIconAlt | ( | $a_item | ) |
Get icon alt text for an item.
array | item array |
Definition at line 472 of file class.ilSCORM2004OrganizationHFormGUI.php.
References ilHierarchyFormGUI\$lng.
ilSCORM2004OrganizationHFormGUI::getMenuItems | ( | $a_node, | |
$a_depth, | |||
$a_first_child = false , |
|||
$a_next_sibling = null , |
|||
$a_childs = null |
|||
) |
Get menu items.
Definition at line 43 of file class.ilSCORM2004OrganizationHFormGUI.php.
References $ilUser, ilHierarchyFormGUI\$lng, $user, ilPageLayout\activeLayouts(), and ilEditClipboard\getAction().
ilSCORM2004OrganizationHFormGUI::manageDragAndDrop | ( | $a_node, | |
$a_depth, | |||
$a_first_child_drop_area = false , |
|||
$a_next_sibling = null , |
|||
$a_childs = null |
|||
) |
Makes nodes drag and drop content and targets.
object | $a_node | node array |
Definition at line 287 of file class.ilSCORM2004OrganizationHFormGUI.php.
References ilHierarchyFormGUI\$lng, ilHierarchyFormGUI\makeDragContent(), and ilHierarchyFormGUI\makeDragTarget().
ilSCORM2004OrganizationHFormGUI::nodeAllowsChilds | ( | $a_node | ) |
Which nodes allow child nodes?
Definition at line 274 of file class.ilSCORM2004OrganizationHFormGUI.php.
|
protected |
Definition at line 18 of file class.ilSCORM2004OrganizationHFormGUI.php.
Referenced by getMenuItems().