예제 #1
0
 /**
  * perform an insert of the record
  **/
 private function saveInsert()
 {
     Actions::insert(static::getTableName(), $this->fields);
     $this->id = Actions::getLastId();
 }