Solar_Sql_Model_Related_HasManyThrough::fetch()
public
object
Solar_Sql_Model_Related_HasManyThrough::fetch
( mixed $spec
)
Fetches the related collection for a native ID or record.
Parameters
(mixed)
$spec
: If a scalar, treated as the native primary key value; if an array or record, retrieves the native primary key value from it.
Returns
(object) The related collection object.
Description
Fetches the related collection for a native ID or record.