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

tx_commerce_pi4hooksHandler Class Reference

List of all members.

Public Member Functions

 deleteAddress ($id, &$pObj)
 beforeAddressSave (&$fieldArray, &$pObj)
 afterAddressSave ($newUid, &$fieldArray, &$pObj)
 beforeAddressEdit ($uid, &$fieldArray, &$pObj)
 afterAddressEdit ($uid, &$fieldArray, &$pObj)
 notify_addressObserver ($status, $table, $id, &$fieldArray, &$pObj)
 checkAddressDelete ($id)

Member Function Documentation

tx_commerce_pi4hooksHandler::afterAddressEdit uid,
&$  fieldArray,
&$  pObj
 

afterAddressEdit() this function is called by the Hook in tx_commerce_pi4 before processing update address operations

Parameters:
array $fieldArray: reference to the incoming fields
object $pObj: page Object reference
Returns:
string error: do not delete message

tx_commerce_pi4hooksHandler::afterAddressSave newUid,
&$  fieldArray,
&$  pObj
 

afterAddressSave() this function is called by the Hook in tx_commerce_pi4 after processing insert address operations

Parameters:
array $fieldArray: reference to the incoming fields
object $pObj: page Object reference
Returns:
string error: do not delete message

tx_commerce_pi4hooksHandler::beforeAddressEdit uid,
&$  fieldArray,
&$  pObj
 

beforeAddressEdit() this function is called by the Hook in tx_commerce_pi4 before processing update address operations

Parameters:
array $fieldArray: reference to the incoming fields
object $pObj: page Object reference
Returns:
string error: do not delete message

tx_commerce_pi4hooksHandler::beforeAddressSave &$  fieldArray,
&$  pObj
 

beforeAddressSave() this function is called by the Hook in tx_commerce_pi4 before processing insert address operations

Parameters:
array $fieldArray: reference to the incoming fields
object $pObj: page Object reference
Returns:
string error: do not delete message

tx_commerce_pi4hooksHandler::checkAddressDelete id  ) 
 

tx_commerce_pi4hooksHandler::deleteAddress id,
&$  pObj
 

deleteAddress() this function is called by the Hook in tx_commerce_pi4 before processing delete address operations return false to permit delete operation

Parameters:
array $fieldArray: reference to the incoming fields
object $pObj: page Object reference
Returns:
string error: do not delete message

tx_commerce_pi4hooksHandler::notify_addressObserver status,
table,
id,
&$  fieldArray,
&$  pObj
 

notify address observer

check status and notify observer

Parameters:
string $status: update or new
string $table: database table
string $id: database table
array $fieldArray: reference to the incoming fields
object $pObj: page Object reference


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