Solar_Sql_Model_Collection::__get()

public Solar_Sql_Model_Record Solar_Sql_Model_Collection::__get ( int|string $key )

Returns a record from the collection based on its key value.

Parameters

  • (int|string) $key: The sequential or associative key value for the record.

Returns

  • (Solar_Sql_Model_Record)

Description

Returns a record from the collection based on its key value.

Converts the stored data array to a record of the correct class on-the-fly.



Local