lithium\data\Collection::_populate()

abstract protected method

A method to be implemented by concrete Collection classes which, provided a reference to a backend data source, and a resource representing a query result cursor, fetches new result data and wraps it in the appropriate object type, which is added into the Collection and returned.

Returns

mixed

Returns the next Record, Document object or other Entity object if exists. Returns null otherwise.

Source

	abstract protected function _populate();