3 * Table Definition for core_domain
5 class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php';
7 class Pman_Core_DataObjects_Core_domain extends DB_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'core_domain';
16 /* the code above is auto generated do not remove the tag below */
18 function loadOrCreate($dom)
20 // should we validate domain?
21 static $cache = array();
22 if (isset($cache[$dom])) {
26 $cd = DB_DataObject::Factory($this->tableName());
27 if ($cd->get('domain', $dom)) {