![]() |
PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Go to the source code of this file.
Functions | |
| affiche_formulaire_ajout_produit ($categorie_id=0, &$frm, &$form_error_object) | |
| FONCTIONS. More... | |
| affiche_formulaire_controle_produit ($categorie_id=0, &$frm, &$form_error_object) | |
| Affiche un formulaire vierge pour ajouter un produit. More... | |
| affiche_formulaire_modif_produit ($id, &$frm) | |
| Affiche le formulaire de modification pour le produit sélectionné More... | |
| affiche_formulaire_produit (&$frm, &$form_error_object, $create_product_process=false) | |
| affiche_formulaire_produit() More... | |
| supprime_produit ($id) | |
| Supprime le produit spécifié par $id. More... | |
| supprime_fichier_produit ($id, $file) | |
| Supprime le fichier lié au produit spécifié par $id, au nom de file. More... | |
| supprime_fichier_couleur ($id, $file, $couleur_id) | |
| Supprime le fichier lié au produit spécifié par $id, au nom de file et pour la couleur couleur_id. More... | |
| insere_produit ($frm) | |
| Ajoute un nouveau produit. More... | |
| maj_produit ($id, $frm) | |
| Met à jour le produit $id avec de nouvelles valeurs. More... | |
| affiche_liste_produits_fournisseur () | |
| affiche_liste_produits_fournisseur() More... | |
| maj_tab ($frm) | |
| maj_tab() More... | |
| affiche_formulaire_modif_tab ($id, $lng) | |
| Charge les infos de la marques. More... | |
| affiche_formulaire_tab (&$frm, &$form_error_object, $product_name, $lng) | |
| affiche_formulaire_tab() More... | |
Variables | |
| const | IN_PEEL_ADMIN true |
| $GLOBALS ['DOC_TITLE'] = $GLOBALS['STR_ADMIN_PRODUITS_TITLE'] | |
| const | ON_PRODUCT_PAGE true |
| $id = intval(vn($_REQUEST['id'])) | |
| $form_error_object = new FormError() | |
| $frm = $_POST | |
| $output = '' | |
| switch (vb($_REQUEST['mode'])) | |
| affiche_formulaire_ajout_produit | ( | $categorie_id = 0, |
|
| & | $frm, | ||
| & | $form_error_object | ||
| ) |
FONCTIONS.
Affiche un formulaire vierge pour ajouter un produit
| integer | $categorie_id | |
| array | $frm | Array with all fields data |
| class | $form_error_object |
Definition at line 237 of file produits.php.
| affiche_formulaire_controle_produit | ( | $categorie_id = 0, |
|
| & | $frm, | ||
| & | $form_error_object | ||
| ) |
Affiche un formulaire vierge pour ajouter un produit.
| integer | $categorie_id | |
| array | $frm | Array with all fields data |
| class | $form_error_object |
Definition at line 333 of file produits.php.
| affiche_formulaire_modif_produit | ( | $id, | |
| & | $frm | ||
| ) |
Affiche le formulaire de modification pour le produit sélectionné
| integer | $id | |
| array | $frm | Array with all fields data |
Definition at line 355 of file produits.php.
| affiche_formulaire_modif_tab | ( | $id, | |
| $lng | |||
| ) |
Charge les infos de la marques.
| integer | $id | |
| mixed | $lng |
Definition at line 1711 of file produits.php.
| affiche_formulaire_produit | ( | & | $frm, |
| & | $form_error_object, | ||
$create_product_process = false |
|||
| ) |
| array | $frm | Array with all fields data |
| class | $form_error_object | |
| boolean | $create_product_process | Cette variable définit si la fonction affiche_formulaire_produit est utilisée lors de la création d'un produit ou pour une modification de produit. |
******************************* Gestion des images des couleurs ***************************************
Definition at line 429 of file produits.php.
| affiche_formulaire_tab | ( | & | $frm, |
| & | $form_error_object, | ||
| $product_name, | |||
| $lng | |||
| ) |
| mixed | $frm | |
| class | $form_error_object | |
| mixed | $product_name | |
| mixed | $lng |
Definition at line 1751 of file produits.php.
| affiche_liste_produits_fournisseur | ( | ) |
| insere_produit | ( | $frm | ) |
Ajoute un nouveau produit.
Les champs sont dans la variable $frm
| array | $frm | Array with all fields data |
Definition at line 1066 of file produits.php.
| maj_produit | ( | $id, | |
| $frm | |||
| ) |
Met à jour le produit $id avec de nouvelles valeurs.
Les champs sont dans $frm
| integer | $id | |
| array | $frm | Array with all fields data |
Definition at line 1352 of file produits.php.
| maj_tab | ( | $frm | ) |
| supprime_fichier_couleur | ( | $id, | |
| $file, | |||
| $couleur_id | |||
| ) |
Supprime le fichier lié au produit spécifié par $id, au nom de file et pour la couleur couleur_id.
| integer | $id | |
| mixed | $file | |
| mixed | $couleur_id |
Definition at line 1040 of file produits.php.
| supprime_fichier_produit | ( | $id, | |
| $file | |||
| ) |
Supprime le fichier lié au produit spécifié par $id, au nom de file.
| integer | $id | |
| mixed | $file |
Definition at line 1012 of file produits.php.
| supprime_produit | ( | $id | ) |
Supprime le produit spécifié par $id.
Il faut supprimer le produit puis les entrées correspondantes de la table peel_produits_categories et autres tables liées.
| integer | $id |
Definition at line 962 of file produits.php.
| $form_error_object = new FormError() |
Definition at line 24 of file produits.php.
| $frm = $_POST |
Definition at line 25 of file produits.php.
| $GLOBALS['DOC_TITLE'] = $GLOBALS['STR_ADMIN_PRODUITS_TITLE'] |
Definition at line 20 of file produits.php.
| $id = intval(vn($_REQUEST['id'])) |
Definition at line 23 of file produits.php.
| $output = '' |
Definition at line 26 of file produits.php.
| const IN_PEEL_ADMIN true |
Definition at line 14 of file produits.php.
| const ON_PRODUCT_PAGE true |
Definition at line 21 of file produits.php.
| switch(vb($_REQUEST['mode'])) |
Definition at line 28 of file produits.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:40 -
is a product of
SAS. All rights reserved.