swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: OrderFormValidator

Source Location: /code/form/OrderFormValidator.php

Class Overview

RequiredFields
   |
   --OrderFormValidator

Validate the OrderForm, check that the current Order is valid.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 11]
Validate the OrderForm, check that the current Order is valid.



Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Methods


method getForm [line 62]

Form getForm( )

Helper so that form fields can access the form and current form data



Tags:

access:  public


[ Top ]

method php [line 19]

Boolean php( Array $data)

Check that current order is valid



Tags:

return:  Returns TRUE if the submitted data is valid, otherwise FALSE.


Parameters:

Array   $data   Submitted data

[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:27 +1300 by phpDocumentor 1.4.4