Public Member Functions | |
| tx_commerce_dmhooks () | |
| processDatamap_preProcessFieldArray (&$incomingFieldArray, $table, $id, $pObj) | |
| saveCategoryRelations ($cUid, $fieldArray=NULL, $saveAnyway=false, $delete=true, $updateXML=true) | |
| saveProductRelations ($pUid, $fieldArray=NULL) | |
| processDatamap_postProcessFieldArray ($status, $table, $id, &$fieldArray, $pObj) | |
| processDatamap_afterDatabaseOperations ($status, $table, $id, $fieldArray, $pObj) | |
| moveOrders ($status, $table, $id, &$fieldArray, &$th_obj) | |
| doNotChangeCrdate ($status, $table, $id, &$fieldArray, &$th_obj) | |
| recalculateOrderSum ($status, $table, $id, &$fieldArray, &$th_obj) | |
Public Attributes | |
| $belib | |
| $catList = NULL | |
|
|
This is just a constructor to instanciate the backend library
|
|
||||||||||||||||||||||||
|
Process Data when saving Order Basically removes the crdate field and so prevents vom chan ging the crdate by admin
|
|
||||||||||||||||||||||||
|
Process Data when saving Order Change the PID from this order via the new field newpid As TYPO3 don't allowes changing the PId directly
|
|
||||||||||||||||||||||||
|
When all operations in the database where made from TYPO3 side, we have to make some special entries for the shop. Because we don't use the built in routines to save relations between tables, we have to do this on our own. We make it manually because we save some additonal information in the relation tables like values, correlation types and such stuff. The hole save stuff is done by the "saveAllCorrelations" method. After the relations are stored in the database, we have to call the dynaflex extension to modify the TCA that it fit's the current situation of saved database entries. We call it here because the TCA is allready built and so the calls in the tca.php of commerce won't be executed between now and the point where the backendform is rendered.
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
This hook is processed BEFORE a datamap is processed (save, update etc.) We use this to check if a product or category is inheriting any attributes from other categories (parents or similiar). It also removes invalid attributes from the fieldArray which is saved in the database after this method. So, if we change it here, the method "processDatamap_afterDatabaseOperations" will work with the data we maybe have modified here.
Calculare from net Calculate from gross Do Localisation in Output Do some Checks with the data, |
|
||||||||||||||||||||||||
|
Process Data when saving Ordered_artciles Recalculate Order sum
|
|
||||||||||||||||||||||||
|
[Describe function...]
|
|
||||||||||||
|
Saves all relations between products and his attributes
|
|
|
|
|
|
|
1.4.4