Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

tx_commerce_attributeEditor Class Reference

List of all members.

Public Member Functions

 tx_commerce_attributeEditor ()
 getAttributeEditField ($aData, &$config, $fetchFromDB=true, $onlyDisplay=false)
 getAttributeEditFields ($funcDataArray, $baseConfig)
 displayAttributeValue ($PA, $fObj)

Public Attributes

 $belib

Constructor & Destructor Documentation

tx_commerce_attributeEditor::tx_commerce_attributeEditor  ) 
 

A simple constructor for instaciating the backend library.

Returns:
void


Member Function Documentation

tx_commerce_attributeEditor::displayAttributeValue PA,
fObj
 

Simply returns the value of an attribute of an article.

Parameters:
array $PA:
array $fObj: The form object
Returns:
[type] ...

tx_commerce_attributeEditor::getAttributeEditField aData,
&$  config,
fetchFromDB = true,
onlyDisplay = false
 

This method creates a dynaflex field configuration from the submitted database entry. The variable "configData" contains the complete dynaflex configuration of the field and the data that where maybe fetched from the database.

We have to fill the fields

$config['name'] $config['label'] $config['config']

Parameters:
array $data: The data array contains in element "row" the dataset of the table we're creating
array $config: The config array is the fynaflex fieldconfiguration.
boolean $fetchFromDB: If true the attribute data is fetched from DB
boolean $onlyDisplay: If true the field is not an input field but is displayed
Returns:
The modified dynaflex configuration
Try to detect article UID since there is currently no way to get the data from the method and get language_uid from article
Author:
ingo schmitt <is@marketing-factory.de>
Try to get language label

Get PID to select only the Attribute Values in the correct PID

Since:
3rd January 2006
Author:
Ingo Schmitt <is@marketing-factory.de>

tx_commerce_attributeEditor::getAttributeEditFields funcDataArray,
baseConfig
 

Returns the editfield dynaflex config for all attributes of a product

Parameters:
array $funcDataArray: ...
array $baseConfig: ...
Returns:
An array with fieldconfigs


Member Data Documentation

tx_commerce_attributeEditor::$belib
 


The documentation for this class was generated from the following file:
Generated on Sun Jan 13 23:12:16 2008 for tx_commerce by  doxygen 1.4.4