CodeDoc.php
authorAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 03:03:52 +0000 (11:03 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Oct 2016 03:03:52 +0000 (11:03 +0800)
CodeDoc.php

index 2f8f6f7..a4319d8 100644 (file)
@@ -395,6 +395,9 @@ class PHP_CodeDoc {
                 continue;
             }
             $cats = $ar[$cls->name];
+            $file = self::$options['targetJS'].'/categories.bjs';
+            file_put_contents($file, json_encode($cats ,JSON_PRETTY_PRINT));
+            
             unset($ar[$cls->name]);
             print_R($cats);
             //print_R($cls);            exit;