Bjs.php
authorAlan Knowles <alan@roojs.com>
Thu, 17 Jan 2019 05:28:42 +0000 (13:28 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Jan 2019 05:28:42 +0000 (13:28 +0800)
Bjs.php

diff --git a/Bjs.php b/Bjs.php
index a69223c..f931d13 100644 (file)
--- a/Bjs.php
+++ b/Bjs.php
@@ -3,7 +3,7 @@
 /**
  * parse BJS files .... 
  *
- *
+ * currenly only extracts $this->fields from the list..
  */
 
 class Pman_Core_Bjs {
@@ -11,7 +11,7 @@ class Pman_Core_Bjs {
     var $json;
     var $fields = array();
     
-    static function formFields($file)
+    function __construct($file)
     {
         
         $this->json = json_decode(file_get_contents($file));