DataObjects/ProjectDirectory.php
[Pman.Core] / DataObjects / Core_enum.php
1 <?php
2 /**
3  * Table Definition for core company
4  */
5 require_once 'DB/DataObject.php';
6
7 class Pman_Core_DataObjects_Core_enum extends DB_DataObject 
8 {
9     ###START_AUTOCODE
10     /* the code below is auto generated do not remove the above tag */
11
12     public $__table = 'core_enum';               // table name
13     public $id;                              // int(11)  not_null primary_key auto_increment
14     public $name;                            // string(64)  not_null
15     public $etype;                            // string(64)  not_null
16     public $seqid;                            // string(64)  not_null
17     public $active;                            // string(64)  not_null
18
19     
20     /* the code above is auto generated do not remove the tag below */
21     ###END_AUTOCODE
22     function applyFilters($q, $au)
23     {
24         
25         //DB_DataObject::debugLevel(1);
26         if (!empty($q['query']['empty_etype'])) {
27             $this->whereAdd("etype = ''");
28         }
29     }
30 }