示例#1
0
 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);
 }
示例#2
0
 public function putRow(SuperModel $newModel)
 {
     $newModel->createByParams($this->buffer_record);
 }