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

Class: QuantityField

Source Location: /code/form/QuantityField.php

Class Overview

TextField
   |
   --QuantityField

Represent each Item in the Order on the Product AddToCartForm.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 11]
Represent each Item in the Order on the Product AddToCartForm.



Tags:

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


[ Top ]


Class Methods


method validate [line 19]

Boolean validate( $validator)

Validate the quantity is above 0.



Parameters:

   $validator  

[ Top ]


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