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