예제 #1
0
파일: datamapper.php 프로젝트: erkie/cowl
 public function populateFromDBResult(DomainObject $object, DBResult $result)
 {
     $row = $result->row();
     return $row ? $this->populateFromRow($object, $row) : (bool) $object->setError();
 }