function () {
$qh=& $this->();
$clsDesc =& $this->();
$tableMap = $clsDesc->();
$insert = $this->();
reset($tableMap);
while (list($tableName) = each($tableMap)) {
$qh->(
$this
, $tableName
, $clsDesc->($tableName)
, $insert
);
$qh->($this->()." saving has failed");
if ($qh->())
return trigger_error($qh->(), E_USER_ERROR);
if ($this->()) {
$this->id = $qh->();
$clsDesc->($this); //adds this to the cache
}
}
}