예제 #1
0
파일: Row.php 프로젝트: cebe/chive
 public function populateRecord($attributes, $callAfterFind = true)
 {
     $table = $this->getMetaData()->tableSchema;
     foreach ($table->columns as $column) {
         if (DataType::getInputType($column->dbType) != "file") {
             if (isset($attributes[$column->name])) {
                 SqlUtil::FixValue($attributes[$column->name]);
             }
         }
     }
     return parent::populateRecord($attributes, $callAfterFind);
 }