->toArray() (Previous) (Next) ->tableName()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->validate()

->validate() -- check object data, and call objects validation methods.

Beschrijving

Check all the objects variables to see if they are valid, by default this means is a column an integer or string, if you define methods like validateEmail(), in your extended class then it will be called to validate the row called 'email'. This may be useful if called prior to an update or insert.., to generate error messages.

override this to set up your validation rules.

Return waarde

array - of validation results or TRUE

Note

Deze functie kan niet statisch worden aangeroepen.

the examples below utilize the PEAR validation package

->toArray() (Previous) (Next) ->tableName()

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.