Previous Page
__destruct()

Solar_Model_Nodes_Collection
__get()

Next Page
__isset()

__get()

public Solar_Sql_Model_Record __get ( int|string $key )

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

Inherited from Solar_Sql_Model_Collection.

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.