Solar_Sql_Model_Record::setInvalids()

public void Solar_Sql_Model_Record::setInvalids ( array $list )

Forces multiple properties to be "invalid" and sets validation failure message for them.

Parameters

  • (array) $list: An associative array where the key is the property name, and the value is a string (or array of strings) of invalidation messages.

Returns

  • (void)

Description

Forces multiple properties to be "invalid" and sets validation failure message for them.



Local