Solar_Sql_Model_Collection::load()

public void Solar_Sql_Model_Collection::load ( array|Solar_Struct $spec )

Loads the struct with data from an array or another struct.

Parameters

  • (array|Solar_Struct) $spec: The data to load into the object.

Returns

  • (void)

Description

Loads the struct with data from an array or another struct.

This is a complete override from the parent load() method.

We need this so that fetchAssoc() loading works properly; otherwise, integer keys get renumbered, which disconnects the association.



Local