Changes

m
Line 70: Line 70:  
= List of known events =
 
= List of known events =
   −
Les évènements Dolibarr qui provoquent un appel de triggers sont, pour l'instant, identifiés par les codes '''$action''' évènements suivants:
+
Dolibarr events that launch triggers are identified by an event code '''$action'''. Existing codes are:
    
* USER_CREATE
 
* USER_CREATE
 
* USER_MODIFY
 
* USER_MODIFY
 
* USER_DISABLE
 
* USER_DISABLE
Dans ces 3 cas, la variable $object contient un objet de type user.class.php
+
In such cases, the variable $object contains an object of type user.class.php
    
* COMPANY_CREATE
 
* COMPANY_CREATE
 
* COMPANY_MODIFY
 
* COMPANY_MODIFY
 
* COMPANY_DELETE
 
* COMPANY_DELETE
Dans ces 3 cas, la variable $object contient un objet de type societe.class.php
+
In such cases, the variable $object contains an object of type societe.class.php
    
* PRODUCT_CREATE
 
* PRODUCT_CREATE
 
* PRODUCT_MODIFY
 
* PRODUCT_MODIFY
 
* PRODUCT_DELETE
 
* PRODUCT_DELETE
Dans ces 3 cas, la variable $object contient un objet de type product.class.php
+
In such cases, the variable $object contains an object of type product.class.php
    
* ORDER_CREATE
 
* ORDER_CREATE
 
* ORDER_VALIDATE
 
* ORDER_VALIDATE
 
* ORDER_DELETE
 
* ORDER_DELETE
Dans ces 3 cas, la variable $object contient un objet de type commande.class.php
+
In such cases, the variable $object contains an object of type commande.class.php
    
* ORDER_SUPPLIER_CREATE
 
* ORDER_SUPPLIER_CREATE
 
* ORDER_SUPPLIER_VALIDATE
 
* ORDER_SUPPLIER_VALIDATE
Dans ces 3 cas, la variable $object contient un objet de type fournisseur.commande.class.php
+
In such cases, the variable $object contains an object of type fournisseur.commande.class.php
    
* PROPAL_CREATE
 
* PROPAL_CREATE
Line 101: Line 101:  
* PROPAL_CLOSE_SIGNED
 
* PROPAL_CLOSE_SIGNED
 
* PROPAL_CLOSE_REFUSED
 
* PROPAL_CLOSE_REFUSED
Dans ces 5 cas, la variable $object contient un objet de type societe.class.php
+
In such cases, the variable $object contains an object of type societe.class.php
    
* CONTRACT_CREATE
 
* CONTRACT_CREATE
Line 109: Line 109:  
* CONTRACT_CLOSE
 
* CONTRACT_CLOSE
 
* CONTRACT_DELETE
 
* CONTRACT_DELETE
Dans ces 6 cas, la variable $object contient un objet de type contract.class.php
+
In such cases, the variable $object contains an object of type contract.class.php
    
* BILL_CREATE
 
* BILL_CREATE
Line 116: Line 116:  
* BILL_CANCEL
 
* BILL_CANCEL
 
* BILL_DELETE
 
* BILL_DELETE
Dans ces 5 cas, la variable $object contient un objet de type facture.class.php
+
In such cases, the variable $object contains an object of type facture.class.php
    
* PAYMENT_CUSTOMER_CREATE
 
* PAYMENT_CUSTOMER_CREATE
Dans ce cas, la variable $object contient un objet de type paiement.class.php
+
In such cases, the variable $object contains an object of type paiement.class.php
    
* PAYMENT_SUPPLIER_CREATE
 
* PAYMENT_SUPPLIER_CREATE
Dans ce cas, la variable $object contient un objet de type paiementfourn.class.php
+
In such cases, the variable $object contains an object of type paiementfourn.class.php
    
* FICHEINTER_VALIDATE
 
* FICHEINTER_VALIDATE
Dans ce cas, la variable $object contient un objet de type ficheinter.class.php
+
In such cases, the variable $object contains an object of type ficheinter.class.php
    
* MEMBER_CREATE
 
* MEMBER_CREATE
Line 133: Line 133:  
* MEMBER_RESILIATE
 
* MEMBER_RESILIATE
 
* MEMBER_DELETE
 
* MEMBER_DELETE
Dans ces cas, la variable $object contient un objet de type adherent.class.php
+
In such cases, the variable $object contains an object of type adherent.class.php
    +
* CATEGORY_CREATE
 +
* CATEGORY_UPDATE
 +
* CATEGORY_DELETE
 +
In such cases, the variable $object contains an object of type adherent.class.php
    
= Manage new events =
 
= Manage new events =