Previous Page
load()

Solar_Example_Model_TestSolarSpecialCols_Collection
loadRelated()

Next Page
locale()

loadRelated()

public void loadRelated ( string $name, array $data )

Loads related data for the collection.

Inherited from Solar_Sql_Model_Collection.

Parameters

  • (string) $name: The relationship name.
  • (array) $data: The related data.

Returns

  • (void)

Description

Loads related data for the collection.

Applies particularly to has-many eager loading.

This keeps hold of the related data, which will be loaded into the record by offsetGet().

See Also