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

Class: VariationMoneyField

Source Location: /code/form/VariationMoneyField.php

Class Overview

MoneyField
   |
   --VariationMoneyField

For adding amount to Variations which alter the overall Product amount, validates that amount is not negative.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 12]
For adding amount to Variations which alter the overall Product amount, validates that amount is not negative.



Tags:

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


[ Top ]


Class Methods


method validate [line 20]

Boolean validate( $validator)

Validate this form field, make sure the Variation amount is not negative.



Parameters:

   $validator  

[ Top ]


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