Solar_Sql_Model_Related::fetch()

public object Solar_Sql_Model_Related::fetch ( mixed $spec )

Fetches the related record or 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 record or collection object.

Description

Fetches the related record or collection for a native ID or record.



Local