lib/eMapper/Result/Mapper/ArrayMapper.php
public function mapResult(ResultIterator $result, $resultType = ArrayType::BOTH) {
		//check numer of rows returned
		if ($result->countRows() == 0)
			return null;

		//get result column types
		$this->columnTypes = $result->getColumnTypes($resultType);
		
		//validate result map (if any)
		if (isset($this->resultMap))
			$this->buildTypeHandlerList();

		//map row
		return $this->map($result->fetchArray($resultType));
	}
public function mapResult(ResultIterator $result, $resultType = ArrayType::BOTH) {
		//check numer of rows returned
		if ($result->countRows() == 0)
			return null;

		//get result column types
		$this->columnTypes = $result->getColumnTypes($resultType);
		
		//validate result map (if any)
		if (isset($this->resultMap))
			$this->buildTypeHandlerList();

		//map row
		return $this->map($result->fetchArray($resultType));
	}
public function mapResult ( ResultIterator $ result , $ resultType = ArrayType :: BOTH ) { //check numer of rows returned if ( $ result -> countRows ( ) == 0 ) return null ; //get result column types $ this -> columnTypes = $ result -> getColumnTypes ( $ resultType ) ; //validate result map (if any) if ( isset ( $ this -> resultMap ) ) $ this -> buildTypeHandlerList ( ) ; //map row return $ this -> map ( $ result -> fetchArray ( $ resultType ) ) ; }
Returns a mapped array from a mysqli_result object
@param \eMapper\Engine\Generic\Result\ResultIterator $result
@param int $resultType
Returns a mapped array from a mysqli_result object