X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_locking.php;h=858a5e15ffe0527616546fd526b61b84cc980ef4;hb=668ab2d57f505904c8afd9678eea8d5bf07d51cb;hp=da3b7bd8a180dcd46b67156961c8e598466a091f;hpb=1198b4e47a6a78173291bd50060a22124bde23ac;p=Pman.Core diff --git a/DataObjects/Core_locking.php b/DataObjects/Core_locking.php index da3b7bd8..858a5e15 100644 --- a/DataObjects/Core_locking.php +++ b/DataObjects/Core_locking.php @@ -9,12 +9,12 @@ class Pman_Core_DataObjects_Core_locking extends DB_DataObject ###START_AUTOCODE /* the code below is auto generated do not remove the above tag */ - public $__table = 'core_locking'; // table name - public $id; // int(11) not_null primary_key auto_increment - public $person_id; // string(64) not_null - public $on_id; // string(64) not_null - public $on_table; // string(64) not_null - public $created; // string(64) not_null + public $__table = 'core_locking'; // table name + public $id; // int(11) not_null primary_key auto_increment + public $on_table; // string(64) not_null multiple_key + public $on_id; // int(11) not_null + public $person_id; // int(11) not_null + public $created; // datetime(19) not_null binary /* the code above is auto generated do not remove the tag below */ @@ -22,5 +22,6 @@ class Pman_Core_DataObjects_Core_locking extends DB_DataObject function person() { $p = DB_DataObjecT::factory('Person'); $p->get($this->person_id); + return $p; } }