include/ytree/Tree.php
\Tree
Package:
Parameters
- Children
- \KBTree
Properties
$_header_files= 'array(
'include/javascript/yui/build/treeview/treeview.js',
'include/ytree/treeutil.js',
)'
Default value
array(
'include/javascript/yui/build/treeview/treeview.js',
'include/ytree/treeutil.js',
)
Details- Type
- n/a
Methods
generateNodesNoInit(
bool $insertScriptTags
=
true, string $customInitFunction
=
""
)
:
string
Generates the javascript node arrays without calling treeinit(). Also generates a callback function that can be easily called to instatiate the treeview object onload().
IE6/7 will throw an "Operation Aborted" error when calling certain types of scripts before the page is fully loaded. The workaround is to move the init() call to the onload handler. See: http://www.viavirtualearth. com/wiki/DeferScript.ashx
Name | Type | Description |
---|---|---|
$insertScriptTags | bool | insertScriptTags Flag to add |