Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Import / ExpCat.php
1 <?php
2
3
4 require_once 'Pman/Roo.php';
5
6 class Pman_Xtuple_Import_ExpCat extends Pman_Roo
7 {
8     
9     /**
10      *  get .. same as roo... 
11      * 
12      */
13     
14     function getAuth()
15     {
16         if (HTML_FlexyFramework::get()->cli) {
17             return true;
18         }
19         die("access denied");
20     }
21     
22     
23     function get()
24     {
25          DB_DAtaObject::debugLevel(1);
26          $ep = DB_DataObject::Factory('expcat');
27          $ep->autoGenerateFromAccounts($this);
28          die("done"); 
29     }
30     
31      
32     
33 }