CodeDoc/Data/Class.php
authorAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 02:50:13 +0000 (10:50 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 02:50:13 +0000 (10:50 +0800)
CodeDoc/Data/Class.php

index 93b7c15..07545af 100644 (file)
@@ -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