lithium\data\model\Query::map()
Generates a schema map of the query's result set, where the keys are aliases, and the values are arrays of field names.
Parameters
-
array
$map
Returns
arraySource
public function map($map = null) {
if ($map !== null) {
$this->_map = $map;
return $this;
}
return $this->_map;
}