DataObjects/Core_company.php
[Pman.Core] / Generator.php
index 9f7ad07..e05f863 100644 (file)
@@ -45,8 +45,13 @@ $this->def['forms'][$table][$t->name] = $form;
 class Pman_Core_Generator extends DB_DataObject_Generator
 {
     
-    static $cli_desc = "Generate the dataobjects";
-    
+     
+    function getAuth()
+    {
+         
+        die("do not use this directly.. - use Core/RunGenerator");  
+        
+    }
    
     // inherrited..
     // $tablekeys
@@ -109,6 +114,7 @@ class Pman_Core_Generator extends DB_DataObject_Generator
         $options['class_location'] = $this->rootDir .'/'.$proj.'/DataObjects';
         $options['require_prefix'] =    $proj . '/DataObjects/';
         $options['class_prefix'] =    $proj . '_DataObjects_';
+        $this->debug(print_r($options,true));
        //  print_r($this);exit;