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

tx_commerce_create_folder Class Reference

List of all members.

Public Member Functions

 init_folders ()
 makeSystemCatsProductsArtcilesAndPrices ($catUid, $type, $addArray)
 makeProduct ($catUid, $uname, $addArray)
 checkProd ($cUid, $uname)
 makeArticle ($pUid, $key, $value, $addArray)

Detailed Description

This class creates the systemfolders for TX_commerce
Author:
Ingo Schmitt


Member Function Documentation

tx_commerce_create_folder::checkProd cUid,
uname
 

Checks if a product is inside a category. The product is identified by the uname field.

Parameters:
Integer $cUid: The uid of the category we search in
String $classname: The unique name by which the product should be identified
Returns:
false or UID of the found product
Author:
Volker Graubaum <vg_typo3@e-netconsulting.de>

tx_commerce_create_folder::init_folders  ) 
 

Initializes the folders for tx_commerce public

Folder Creation Get list from Order folders from TS

tx_commerce_create_folder::makeArticle pUid,
key,
value,
addArray
 

Creates an article for the product. Used for sysarticles (e.g. payment articles)

Parameters:
integer $pUid: Product Uid under wich the articles are created
integer $key: keyname for the sysarticle, used for classname and title first, title can be changed
array $value: values for the article, only type is used
array $addArray: additional params for the inserts (like timestamp)
Author:
Volker Graubaum <vg_typo3@e-netconsulting.de>

tx_commerce_create_folder::makeProduct catUid,
uname,
addArray
 

Creates a product with a special uname inside of a specific category. If the product already exists, the method returns the UID of it.

Author:
Volker Graubaum <vg_typo3@e-netconsulting.de>
Parameters:
$catUid 
$uname 
$addArray 

tx_commerce_create_folder::makeSystemCatsProductsArtcilesAndPrices catUid,
type,
addArray
 

Generates the System Articles

Parameters:
$catUid 
$type 
$addArray 
Author:
Volker Graubaum <vg_typo3@e-netconsulting.de>


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