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

Class: OptionComplexTableField

Source Location: /code/form/OptionComplexTableField.php

Class Overview

ComplexTableField
   |
   --OptionComplexTableField

For displaying a set of Options for a Product in the CMS.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Variables

Methods



Class Details

[line 12]
For displaying a set of Options for a Product in the CMS.

Sets the Attribute ID correctly.




Tags:

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


[ Top ]


Class Variables

$attributeID =

[line 19]

Attribute ID for this options



Tags:

access:  protected

Type:   Int


[ Top ]



Class Methods


method getFieldsFor [line 37]

FieldSet getFieldsFor( $childData)

Ensure the fields on the add and edit forms for each option have the correct Attribute ID set.



Parameters:

   $childData  

[ Top ]

method setAttributeID [line 26]

void setAttributeID( Int $id)

Set the Attribute ID for these options



Parameters:

Int   $id  

[ Top ]


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