From 9287d6e59779d952481a86d13d662d0259117a20 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Oct 2016 11:03:52 +0800 Subject: [PATCH] CodeDoc.php --- CodeDoc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CodeDoc.php b/CodeDoc.php index 2f8f6f7..a4319d8 100644 --- a/CodeDoc.php +++ b/CodeDoc.php @@ -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; -- 2.39.2