public $created_dt; // datetime(19) binary
public $company_name;
public $person_type;
+
+ public $person_id;
+ public $person_table;
// function verify($key)
// {
$target->setFrom($this->toArray());
- if(method_exists($target, 'beforeInsert')){
- $target->beforeInsert(array(), $roo);
- }
-
$target->insert();
- if(method_exists($target, 'onInsert')){
- $target->onInsert(array(), $roo);
- }
+ $this->person_id = $target->id;
+ // ok - deleting might not be a great idea.... - as we can not track already confirmed codes..
- $this->delete();
+ //$this->delete();
return $target;
}
return true;
}
- return false;
+ return $sent;
}
function getEmailFrom()