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

tx_commerce_db_product Class Reference

Inheritance diagram for tx_commerce_db_product:

tx_commerce_db_alib List of all members.

Public Member Functions

 get_articles ($uid)
 get_attributes ($uid, $correlationtypes)
 get_parent_category ($uid)
 get_parent_categorie ($uid)
 get_parent_categories ($uid)
 getManufacturerTitle ($ManufacturerUid)

Public Attributes

 $database_table = 'tx_commerce_products'
 $database_attribute_rel_table = 'tx_commerce_products_attributes_mm'
 $database_category_rel_table = 'tx_commerce_products_categories_mm'
 $orderField = 'sorting'

Member Function Documentation

tx_commerce_db_product::get_articles uid  ) 
 

gets all articles form database related to this product

Parameters:
uid= Product uid
Returns:
array of Article UID

tx_commerce_db_product::get_attributes uid,
correlationtypes
 

gets all attributes form database related to this product where corelation type = 4

Parameters:
uid= Product uid
Returns:
array of Article UID

Reimplemented from tx_commerce_db_alib.

tx_commerce_db_product::get_parent_categorie uid  ) 
 

Gets the "master" category from this product

Parameters:
uid = Product UID
Returns:
integer Categorie UID
See also:
get_parent_categorie

tx_commerce_db_product::get_parent_categories uid  ) 
 

Gets the "master" category from this product

Parameters:
uid = Product UID
Returns:
array of parent categories Change to correct handling way concering databas model, currently wrongly interperted currently only call to get_parent_categorie

tx_commerce_db_product::get_parent_category uid  ) 
 

Gets the "master" category from this product

Parameters:
uid = Product UID
Returns:
integer Categorie UID Change to correct handling way concering databas model, currently wrongly interperted change to mm db class function

tx_commerce_db_product::getManufacturerTitle ManufacturerUid  ) 
 

Returns the Manuafacturer Title to a given Manufacturere UID

Parameters:
intenger $ManufacturerUid
Returns:
string Title
Author:
Luc Muller <l.mueller@ameos.com>


Member Data Documentation

tx_commerce_db_product::$database_attribute_rel_table = 'tx_commerce_products_attributes_mm'
 

Reimplemented from tx_commerce_db_alib.

tx_commerce_db_product::$database_category_rel_table = 'tx_commerce_products_categories_mm'
 

tx_commerce_db_product::$database_table = 'tx_commerce_products'
 

Reimplemented from tx_commerce_db_alib.

tx_commerce_db_product::$orderField = 'sorting'
 

Reimplemented from tx_commerce_db_alib.


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