protected function insertTempRecord(SuperModel $old_model, $new_record, $confirmation_column, $code_length) { // TODO: Implement insertTempRecord() method. $code = md5($this->randStrGen($code_length)); $new_record[$confirmation_column] = $code; $this->last_record = $old_model->createByParams($new_record); }
public function putRow(SuperModel $newModel) { $newModel->createByParams($this->buffer_record); }