Solar_Sql_Model_Related::_collate()
protected
array
Solar_Sql_Model_Related::_collate
( array $array
, string $key
)
Given a results array, collates the results based on a key within each result.
Parameters
(array)
$array
: The results array.(string)
$key
: The key to collate by.
Returns
(array) The collated array.
Description
Given a results array, collates the results based on a key within each result.