projects
/
PHP_CodeDoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d54331c
)
CodeDoc/Data/Class.php
author
Alan Knowles
<alan@roojs.com>
Fri, 14 Oct 2016 02:55:41 +0000
(10:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 14 Oct 2016 02:55:41 +0000
(10:55 +0800)
CodeDoc/Data/Class.php
patch
|
blob
|
history
diff --git
a/CodeDoc/Data/Class.php
b/CodeDoc/Data/Class.php
index
07545af
..
ff6ec8e
100644
(file)
--- a/
CodeDoc/Data/Class.php
+++ b/
CodeDoc/Data/Class.php
@@
-88,7
+88,22
@@
class PHP_CodeDoc_Data_Class {
function catsToJs($ar)
{
-
+ sort($ar);
+ $ret = array(
+ 'xns' => 'Roo.bootstrap',
+ 'xtype' => 'NavGroup',
+ 'items' => array(
+
+ )
+ );
+ foreach($ar as $c) {
+ $ret['items'][] = array(
+ 'xns' => 'Roo.bootstrap',
+ 'xtype' => 'NavItem',
+ 'href' => '#' . str_replace('_','-',strtolower($this->name)). '/'.$c,
+ 'html' => $c
+ );
+ }