Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

question

posted by mungiu 8 years ago

What to do if I want to skip validation method when I call store, because I want to use zf form validation.

By default validation only ensures that the record can be inserted into the database without an fSQLException being thrown. Thus, you probably don't want to disable validation. Otherwise you now need to come up with code to handle the fSQLException objects that will likely be thrown.

If you really need to, you can probably override the fActiveRecord::validate() method with a method that does nothing.

posted by wbond 8 years ago