ILIAS
Release_4_1_x_branch Revision 61804
|
This class allows quick editing of a chapter/sco/page hierarchy. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getMenuItems ($a_node, $a_depth, $a_first_child=false, $a_next_sibling=null, $a_childs) | |
Get menu items. | |
nodeAllowsChilds ($a_node) | |
Which nodes allow child nodes? | |
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. | |
getChildCommands ($a_item) | |
Get item commands. | |
Public Member Functions inherited from ilHierarchyFormGUI | |
setParentCommand ($a_parent_obj, $a_parent_cmd) | |
Set parent gui object/cmd. | |
getParentObject () | |
Get Parent object. | |
getParentCommand () | |
Get parent command. | |
setId ($a_id) | |
Set Id. | |
getId () | |
Get Id. | |
setTree ($a_tree) | |
Set Tree Object. | |
getTree () | |
Get Tree Object. | |
setCurrentTopNodeId ($a_currenttopnodeid) | |
Set Current Top Node ID. | |
getCurrentTopNodeId () | |
Get Current Top Node ID. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setIcon ($a_icon) | |
Set Icon. | |
getIcon () | |
Get Icon. | |
setCheckboxName ($a_checkboxname) | |
Set Checkbox Name. | |
getCheckboxName () | |
Get Checkbox Name. | |
setDragIcon ($a_dragicon) | |
Set Drag Icon Path. | |
getDragIcon () | |
Get Drag Icon Path. | |
setMaxDepth ($a_maxdepth) | |
Set Maximum Depth. | |
getMaxDepth () | |
Get Maximum Depth. | |
setExplorerUpdater ($a_exp_frame, $a_exp_id, $a_exp_target_script) | |
Set Explorer Updater. | |
setTriggeredUpdateCommand ($a_triggered_update_command) | |
Set Explorer Updater. | |
addHelpItem ($a_text, $a_image="") | |
Get all help items. | |
getHelpItems () | |
Get all help items. | |
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. | |
makeDragContent ($a_id, $a_group) | |
Makes a node a drag content. | |
addMultiCommand ($a_txt, $a_cmd) | |
Add a multi command (for selection of items) | |
addCommand ($a_txt, $a_cmd) | |
Add a command. | |
setHighlightedNodes ($a_val) | |
Set highlighted nodes. | |
getHighlightedNodes () | |
Get highlighted nodes. | |
setFocusId ($a_val) | |
Set focus if. | |
getFocusId () | |
Get focus id. | |
setExpandVariable ($a_val) | |
Set expand variable. | |
getExpandVariable () | |
Get expand variable. | |
setExpanded ($a_val) | |
Set expanded Array. | |
getExpanded () | |
Get expanded array. | |
updateExpanded () | |
Update expand information in session. | |
getChilds ($a_node_id=false) | |
Get all childs of current node. | |
getContent () | |
Get Form Content. | |
getLevelHTML ($a_par_node, $a_depth, &$a_childs) | |
Get Form HTML. | |
renderChild ($a_tpl, $a_child, $a_depth, $next_sibling=null) | |
Render a single child (including grandchilds) | |
getChildIcon ($a_item) | |
Get icon path for an item. | |
getChildIconAlt ($a_item) | |
Get icon alt text for an item. | |
Public Member Functions inherited from ilFormGUI | |
ilFormGUI () | |
Constructor. | |
setFormAction ($a_formaction) | |
Set FormAction. | |
getFormAction () | |
Get FormAction. | |
setTarget ($a_target) | |
Set Target. | |
getTarget () | |
Get Target. | |
setMultipart ($a_multipart) | |
Set Enctype Multipart/Formdata true/false. | |
getMultipart () | |
Get Enctype Multipart/Formdata true/false. | |
setKeepOpen ($a_keepopen) | |
Set Keep Form Tag Open. | |
getKeepOpen () | |
Get Keep Form Tag Open. | |
setOpenTag ($a_open) | |
Enable/Disable Open Form Tag. | |
getOpenTag () | |
Get Open Form Tag Enabled. | |
setCloseTag ($a_val) | |
Set close tag. | |
getCloseTag () | |
Get close tag. | |
getHTML () | |
Get HTML. |
Additional Inherited Members | |
Static Public Member Functions inherited from ilHierarchyFormGUI | |
static | getPostMulti () |
Get multi number of _POST input. | |
static | getPostNodeId () |
Get node ID of _POST input. | |
static | getPostFirstChild () |
Should node be inserted as first child of target node (true) or as successor (false) | |
Protected Attributes inherited from ilFormGUI | |
$formaction | |
$multipart = false | |
$keepopen = false | |
$opentag = true |
This class allows quick editing of a chapter/sco/page hierarchy.
Definition at line 33 of file class.ilSCORM2004OrganizationHFormGUI.php.
ilSCORM2004OrganizationHFormGUI::__construct | ( | ) |
Constructor.
Reimplemented from ilHierarchyFormGUI.
Definition at line 40 of file class.ilSCORM2004OrganizationHFormGUI.php.
References $lng, ilHierarchyFormGUI\setCheckboxName(), and ilHierarchyFormGUI\setExpandVariable().
ilSCORM2004OrganizationHFormGUI::getChildCommands | ( | $a_item | ) |
Get item commands.
array | item array |
Reimplemented from ilHierarchyFormGUI.
Definition at line 268 of file class.ilSCORM2004OrganizationHFormGUI.php.
ilSCORM2004OrganizationHFormGUI::getMenuItems | ( | $a_node, | |
$a_depth, | |||
$a_first_child = false , |
|||
$a_next_sibling = null , |
|||
$a_childs | |||
) |
Get menu items.
Reimplemented from ilHierarchyFormGUI.
Definition at line 53 of file class.ilSCORM2004OrganizationHFormGUI.php.
References $lng.
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 |
Reimplemented from ilHierarchyFormGUI.
Definition at line 191 of file class.ilSCORM2004OrganizationHFormGUI.php.
References $lng, ilHierarchyFormGUI\makeDragContent(), and ilHierarchyFormGUI\makeDragTarget().
ilSCORM2004OrganizationHFormGUI::nodeAllowsChilds | ( | $a_node | ) |
Which nodes allow child nodes?
Reimplemented from ilHierarchyFormGUI.
Definition at line 177 of file class.ilSCORM2004OrganizationHFormGUI.php.