lithium\data\model\Query::map()

public method

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

array

Source

	public function map($map = null) {
		if ($map !== null) {
			$this->_map = $map;
			return $this;
		}
		return $this->_map;
	}