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

Class: OptionGroupField

Source Location: /code/form/OptionGroupField.php

Class Overview

CompositeField
   |
   --OptionGroupField

Represents a group of dropdowns for options for a Product.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Methods



Class Details

[line 11]
Represents a group of dropdowns for options for a Product.



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 26]

OptionGroupField __construct( String $name, Product $product)

Construct the field with correct ID names and values



Parameters:

String   $name  
Product   $product  

[ Top ]

method FieldHolder [line 68]

void FieldHolder( )

Display this field, add some javascript for handling changes to the dropdowns, populating the next dropdown via AJAX etc.



[ Top ]

method hasData [line 58]

Boolean hasData( )

This field has data



Tags:

return:  True always


[ Top ]


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