{
$tn = $this->tableName();
$x = $this->factory($tn);
-
+ print_R($this);exit;
if(empty($req['etype'])){
if($x->get('name', $req['name'])){
$roo->jerr('name is exsiting');
$x->query("SELECT core_enum_seqmax_update('". $this->escape($this->etype) ."')"); // no idea why need to do this!!??
}
+
function onUpdate($old, $req)
{
$x = $this->factory($this->tableName());