Solar_Sql_Model_Record::setInvalid()
public
void
Solar_Sql_Model_Record::setInvalid
( string $key
, string $message
)
Forces one property to be "invalid" and sets a validation failure message for it.
Parameters
(string)
$key
: The property name.(string)
$message
: The validation failure message.
Returns
(void)
Description
Forces one property to be "invalid" and sets a validation failure message for it.