From: Alan Knowles Date: Fri, 14 Oct 2016 02:50:13 +0000 (+0800) Subject: CodeDoc/Data/Class.php X-Git-Url: http://git.roojs.org/?p=PHP_CodeDoc;a=commitdiff_plain;h=d54331c14981fafad5b814dcdf849957e9c6cc56 CodeDoc/Data/Class.php --- diff --git a/CodeDoc/Data/Class.php b/CodeDoc/Data/Class.php index 93b7c15..07545af 100644 --- a/CodeDoc/Data/Class.php +++ b/CodeDoc/Data/Class.php @@ -77,10 +77,24 @@ class PHP_CodeDoc_Data_Class { foreach($this->Attributes as $op) { // $ret[$this->name . '.'.$op->name] = $op->toJS(); } - $ret[ $this->name] = $cats; + $ret[ $this->name] = array(); + foreach($cats as $k=>$v ) { + $ret[ $this->name][$k] = $this->catsToJs($v); + } + + return $ret; } + function catsToJs($ar) + { + + + + + } + + } ?> \ No newline at end of file