Home
last modified time | relevance | path

Searched refs:js_name (Results 1 – 2 of 2) sorted by relevance

/plugin/tindexmenu/syntax/
H A Dindexmenu.php265 $js_name="indexmenu_";
276 $js_name .= $js_opts['gen_id'];
278 $js_name .= sprintf("%u",crc32($ns));
280 $js_name .= uniqid(rand());
311 function _jstree($data,$ns,$js_opts,$js_name,$max) { argument
324 $out .= "var $js_name = new dTree('".$js_name."','".$js_opts['theme']."');\n";
336 $anodes = $this->_jsnodes($data,$js_name);
338 $out .= "document.write(".$js_name.");\n";
339 $out .= $js_name.".init(";
355 function _jsnodes($data,$js_name,$noajax=1) { argument
[all …]
/plugin/indexmenu/syntax/
H A Dindexmenu.php501 $js_name = "indexmenu_" . $js_dTreeOpts['identifier'];
516 $output_js .= $this->builddTree($nodes, $ns, $js_dTreeOpts, $js_name, $opts['max']);
519 $output_js .= $this->buildFancyTree($js_name, $ns, $opts, $sort);
526 $output .= $this->buildNoJSTree($nodes, $js_name, $js_dTreeOpts['jsAjax']);
531 private function buildNoJSTree($nodes, $js_name, $jsAjax)
538 . '<div id="nojs_' . $js_name . '" data-jsajax="' . utf8_encodeFN($jsAjax) . '" class="indexmenu_nojs">'
544 private function buildFancyTree($js_name, $ns, $opts, $sort)
565 return '<div id="tree2_' . $js_name . '" class="indexmenu_js2 skin-' . $opts['theme'] . '"'
575 * @param string $js_name identifier for this index
584 private function builddTree($nodes, $ns, $js_dTreeOpts, $js_name,
444 _jstree($data, $ns, $js_opts, $js_name, $max) global() argument
510 _jsnodes($data, $js_name, $noajax = 1) global() argument
[all...]