DataObjects/Core_domain.php
[Pman.Core] / Generator.php
index a3da329..3b36578 100644 (file)
@@ -45,7 +45,13 @@ $this->def['forms'][$table][$t->name] = $form;
 class Pman_Core_Generator extends DB_DataObject_Generator
 {
     
-
+     
+    function getAuth()
+    {
+         
+        die("do not use this directly.. - use Core/RunGenerator");  
+        
+    }
    
     // inherrited..
     // $tablekeys
@@ -155,6 +161,9 @@ class Pman_Core_Generator extends DB_DataObject_Generator
                 continue;
             }
             foreach(scandir($options['rootDir'].'/'.$m) as $f) {
+                
+                echo "SCAN {$options['rootDir']} $f\n";
+                
                 if (!strlen($f) || $f[0] == '.') {
                     continue;
                 }
@@ -347,6 +356,7 @@ touch Pman/????/DataObjects/".ucfirst($this->table).".php
         $cli = $options['cli'];
 
         foreach($this->tables as $this->table) {
+            
             $this->table        = trim($this->table);
             $tn  = strtolower($this->table);
             $mod = $this->modmap[$tn];