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

tx_commerce_attribute Class Reference

Inheritance diagram for tx_commerce_attribute:

tx_commerce_element_alib List of all members.

Public Member Functions

 tx_commerce_attribute ()
 init ($uid, $lang_uid=0)
 get_all_values ()
 get_values ()
 get_value ($uid)
 get_title ()
 get_unit ()
 get_attributes ()

Public Attributes

 $title = ''
 $unit = ''
 $has_valuelist = 0
 $attribute_value_uids = array()
 $attribute_values = array()

Constructor & Destructor Documentation

tx_commerce_attribute::tx_commerce_attribute  ) 
 

Constructor class, basically calls init

Parameters:
uid integer uid or attribute
lang_uid integer language uid, default 0


Member Function Documentation

tx_commerce_attribute::get_all_values  ) 
 

Franz: how do we take care about depencies between attributes?

Returns:
array values of attribute public

tx_commerce_attribute::get_attributes  ) 
 

Overwrite get_attributes as attributes cant hav attributes

Returns:
false;

tx_commerce_attribute::get_title  ) 
 

gets the attribute title

Returns:
string title public

tx_commerce_attribute::get_unit  ) 
 

Returns:
string unit public

tx_commerce_attribute::get_value uid  ) 
 

synonym to get_all_values

See also:
tx_commerce_attributes->get_all_values()
Parameters:
uid uid of value

tx_commerce_attribute::get_values  ) 
 

synonym to get_all_values

See also:
tx_commerce_attributes->get_all_values()

tx_commerce_attribute::init uid,
lang_uid = 0
 

Constructor class, basically calls init

Parameters:
uid integer uid or attribute
lang_uid integer language uid, default 0


Member Data Documentation

tx_commerce_attribute::$attribute_value_uids = array()
 

Attribute value uid list private

tx_commerce_attribute::$attribute_values = array()
 

Attribute value object list private

tx_commerce_attribute::$has_valuelist = 0
 

tx_commerce_attribute::$title = ''
 

tx_commerce_attribute::$unit = ''
 


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