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

Class: OptionField

Source Location: /code/form/OptionField.php

Class Overview

DropdownField
   |
   --OptionField

For Product Option fields to be displayed on the Product page.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 11]
For Product Option fields to be displayed on the Product page.



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 24]

OptionField __construct( $attributeID, [String $title = null], [ $optionSet = null], [String $value = ""], [Form $form = null], [String $emptyString = null], String $optionClass, Array $source)

Create drop down field for a product option, just ensures name of field is in the format Options[OptionClassName].



Parameters:

String   $optionClass   Class name of the product option
String   $title  
Array   $source  
String   $value  
Form   $form  
String   $emptyString  
   $attributeID  
   $optionSet  

[ Top ]


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