Tuesday, September 1, 2009

Digitalus Forms

Digitalus Form is a fairly straight implementation at this point;

Digitalus Form adds a hash control to avoid cross site attacks.

The validatePost() method does a few things that you need to do every time you process a form. It:
  • determines that the request method was post
  • loads the post
  • validates the form
If the form is valid it returns true, otherwise it returns false.

The populate() method accepts a Digitalus_Model as the argument (as well as an arrray).

There is a getReferrer() method tells you which page submitted the form.

No comments:

Post a Comment