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

tx_commerce_cmhooks Class Reference

List of all members.

Public Member Functions

 processCmdmap_preProcess (&$command, $table, $id, $value, &$pObj)
 processCmdmap_postProcess (&$command, $table, $id, $value, &$pObj)
 error ($error)

Member Function Documentation

tx_commerce_cmhooks::error error  ) 
 

Prints out the error

Parameters:
String $error

tx_commerce_cmhooks::processCmdmap_postProcess &$  command,
table,
id,
value,
&$  pObj
 

This hook is processed AFTER a commandmap is processed (delete, etc.)

Parameters:
array $incomingFieldArray: the array of fields that where changed in BE (passed by reference)
string $table: the table the data will be stored in
integer $id: The uid of the dataset we're working on
object $pObj: The instance of the BE Form
Returns:
void
Author:
Franz Holzinger <kontakt@fholzinger.com>

Thomas Hempel <thomas@work.de>

Ingo Schmitt <is@marketing-factory.de> Calculation of missing price

Delete all categories->products->articles if a category should be deleted. This one does NOT delete any relations! This is not wanted because you might want to restore deleted categories, products or articles.

Author:
Thomas Hempel <thomas@work.de>
If a product is deleted, delete all articles below.
Author:
Ingo Schmitt <is@marketing-factory.de>
Only if there are articles, walk thru the array and delete articles from database by setting deleted =1

localize all articles that are related to the current product and lokalise all produkt attributes realted to this product from

: Reference to Constants ?

Decide on what to to on lokalisation, how to act

See also:
ext_conf_template attributeLokalisationType[0|1|2] 0: set blank 1: Copy 2: prepend [Translate to .$langRec['title'].:]
Walk thru the array and prepend text

Update the flexform

tx_commerce_cmhooks::processCmdmap_preProcess &$  command,
table,
id,
value,
&$  pObj
 

This hook is processed Bevor a commandmap is processed (delete, etc.)

Parameters:
array $incomingFieldArray: the array of fields that where changed in BE (passed by reference)
string $table: the table the data will be stored in
integer $id: The uid of the dataset we're working on
object $pObj: The instance of the BE Form
Returns:
void
Author:
Ingo Schmitt
Do Nothing if the command is lokalize an table is article


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