From d54331c14981fafad5b814dcdf849957e9c6cc56 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Oct 2016 10:50:13 +0800 Subject: [PATCH] CodeDoc/Data/Class.php --- CodeDoc/Data/Class.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 -- 2.39.2