DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
index 80fc002..f1bbee5 100644 (file)
@@ -24,6 +24,9 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
     public $created_dt;                      // datetime(19)  binary
     public $company_name;
     public $person_type;
+    
+    public $person_id;
+    public $person_table;
 
 //    function verify($key) 
 //    {
@@ -111,6 +114,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
         
         $target->insert();
         
+        $this->person_id = $target->id;
         // ok - deleting might not be a great idea.... - as we can not track already confirmed codes..
         
         //$this->delete();