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

Class: ProductAdminValidator

Source Location: /code/form/ProductAdminValidator.php

Class Overview

RequiredFields
   |
   --ProductAdminValidator

Validator for editing Products in the ShopAdmin. Currently not used.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 12]
Validator for editing Products in the ShopAdmin. Currently not used.



Tags:

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


[ Top ]


Class Methods


method getForm [line 37]

Form getForm( )

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



Tags:

return:  The current form
access:  public


[ Top ]

method php [line 22]

Boolean php( Array $data)

Currently not used

TODO could use this to validate variations etc. perhaps




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:28 +1300 by phpDocumentor 1.4.4