|
Previous Page |
Solar_Example_Model_Areas_Collection |
Next Page |
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
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __get()
- __isset()
- __set()
- __unset()
- _exception()
- _postDelete()
- _postSave()
- _preDelete()
- _preSave()
- apiVersion()
- count()
- current()
- delete()
- dump()
- getModel()
- key()
- load()
- loadRelated()
- locale()
- next()
- offsetExists()
- offsetGet()
- offsetSet()
- offsetUnset()
- rewind()
- save()
- setModel()
- toArray()
- valid()