/** * validates the data of a model with the tca definition of a its table. * * @param Tx_Rnbase_Domain_Model_RecordInterface $model * @param array $options * only_record_fields: validates only fields included in the record * @return bolean */ public static function validateModel(Tx_Rnbase_Domain_Model_RecordInterface $model, $options = NULL) { return self::validateRecord($model->getProperty(), $model->getTableName(), $options); }