Solar_Sql_Model_Record::load()

public void Solar_Sql_Model_Record::load ( array|Solar_Struct $spec , array $cols = NULL )

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

Parameters

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

  • (array) $cols: Load only these columns.

Returns

  • (void)

Description

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

Also unserializes columns per the "serialize_cols" model property.

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



Local