![]() |
PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Go to the source code of this file.
Functions | |
| if(!defined('IN_PEEL')) | attributs_hook_product_init_post (&$params) |
| Chargement des informations produit manquantes si nécessaire. More... | |
| attributs_hook_product_set_configuration (&$params) | |
| Définition des informations de configuration d'un produit. More... | |
| attributs_hook_product_get_options (&$params) | |
| Récupère la liste des options liées à un produit. More... | |
| get_possible_attributs ($product_id=null, $return_mode= 'rough', $get_attributes_with_multiple_options_only=true, $get_attributes_with_single_options_only=false, $attributs_list=null) | |
| get_possible_attributs() More... | |
| affiche_attributs_form_part (&$product_object, $display_mode= 'table', $save_cart_id=null, $save_suffix_id=null, $form_id=null, $technical_code_array=null, $excluded_technical_code_array=null, $force_reseller_mode=null, $get_attributes_with_multiple_options_only=true, $filter_using_show_description=false, $get_attributes_with_single_options_only=false, $update_last_calculation_additional_price_ht=true) | |
| affiche_attributs_form_part() More... | |
| display_option_image ($str_image, $set=false) | |
| Formatte l'attribut (de type upload) du produit. More... | |
| get_all_option_combinations (&$attributs_infos_array, $option_values_array=array(''), $get_agregated_attributs_values=true) | |
| Construit les combinaisons possibles d'attributs. More... | |
| get_option_combination_name_from_value ($attributs_infos_array, $combinaison_option_value) | |
| get_option_combination_name_from_code() More... | |
| build_attr_var_js ($attr_var_name, $attributs_infos_array, $form_id) | |
| build_attr_var_js() More... | |
| get_attribut_list_from_post_data (&$product_object, &$frm, $keep_free_attributs_only=false, $keep_costly_attributs_only=false) | |
| Traite les informations relatives aux attributs dans le post d'un formulaire produit. More... | |
| get_product_options ($id_or_technical_code, $lang, $return_mode= 'value') | |
| Récupère la liste des attributs liés à un produit. More... | |
| attributes_create_or_update ($this_field_name, $this_field_value, $product_id, $site_id, $admin_mode=false) | |
| Insertion d'une liste d'attributs en base de données pour un produit donné More... | |
| affiche_attributs_form_part | ( | & | $product_object, |
$display_mode = 'table', |
|||
$save_cart_id = null, |
|||
$save_suffix_id = null, |
|||
$form_id = null, |
|||
$technical_code_array = null, |
|||
$excluded_technical_code_array = null, |
|||
$force_reseller_mode = null, |
|||
$get_attributes_with_multiple_options_only = true, |
|||
$filter_using_show_description = false, |
|||
$get_attributes_with_single_options_only = false, |
|||
$update_last_calculation_additional_price_ht = true |
|||
| ) |
| object | $product_object | |
| string | $display_mode | |
| integer | $save_cart_id | |
| integer | $save_suffix_id | |
| integer | $form_id | |
| array | $technical_code_array | |
| array | $excluded_technical_code_array | |
| boolean | $force_reseller_mode | |
| boolean | $get_attributes_with_multiple_options_only | |
| boolean | $filter_using_show_description | |
| boolean | $get_attributes_with_single_options_only |
Definition at line 232 of file fonctions.php.
| attributes_create_or_update | ( | $this_field_name, | |
| $this_field_value, | |||
| $product_id, | |||
| $site_id, | |||
$admin_mode = false |
|||
| ) |
Insertion d'une liste d'attributs en base de données pour un produit donné
| string | $this_field_name | |
| string | $this_field_value | |
| integer | $product_id | |
| integer | $site_id | |
| boolean | $admin_mode |
Definition at line 797 of file fonctions.php.
| attributs_hook_product_get_options | ( | & | $params | ) |
Récupère la liste des options liées à un produit.
| array | $params |
Definition at line 56 of file fonctions.php.
| if (!defined('IN_PEEL')) attributs_hook_product_init_post | ( | & | $params | ) |
Chargement des informations produit manquantes si nécessaire.
| array | $params |
Definition at line 24 of file fonctions.php.
| attributs_hook_product_set_configuration | ( | & | $params | ) |
Définition des informations de configuration d'un produit.
| array | $params |
Definition at line 36 of file fonctions.php.
| build_attr_var_js | ( | $attr_var_name, | |
| $attributs_infos_array, | |||
| $form_id | |||
| ) |
| string | $attr_var_name | |
| int | $attributs_infos_array_count | |
| string | $form_id |
Definition at line 556 of file fonctions.php.
| display_option_image | ( | $str_image, | |
$set = false |
|||
| ) |
Formatte l'attribut (de type upload) du produit.
| string | $str_image | : est une chaine de caractère qui peut être au format image directement ou alors peut être un texte qui contient des extraits d'images |
| boolean | $set | : definit si l'on a passé un format d'image (false) ou alors si on a passé du text contenant éventuellement des images (true) |
Definition at line 449 of file fonctions.php.
| get_all_option_combinations | ( | & | $attributs_infos_array, |
$option_values_array = array(''), |
|||
$get_agregated_attributs_values = true |
|||
| ) |
Construit les combinaisons possibles d'attributs.
| array | $attributs_infos_array | Informations sur les attributs à traiter (dans l'appel récursif, plus on va profondément, plus on restreint cette liste) |
| boolean | $option_values_array | Résultats temporaires pour récursivité |
| boolean | $get_agregated_attributs_values |
Definition at line 498 of file fonctions.php.
| get_attribut_list_from_post_data | ( | & | $product_object, |
| & | $frm, | ||
$keep_free_attributs_only = false, |
|||
$keep_costly_attributs_only = false |
|||
| ) |
Traite les informations relatives aux attributs dans le post d'un formulaire produit.
| object | $product_object | |
| array | $frm | Array with all fields data |
| boolean | $keep_free_attributs_only | |
| boolean | $keep_costly_attributs_only |
Definition at line 606 of file fonctions.php.
| get_option_combination_name_from_value | ( | $attributs_infos_array, | |
| $combinaison_option_value | |||
| ) |
get_option_combination_name_from_code()
| mixed | $attributs_infos_array | |
| mixed | $combinaison_option_value |
Definition at line 537 of file fonctions.php.
| get_possible_attributs | ( | $product_id = null, |
|
$return_mode = 'rough', |
|||
$get_attributes_with_multiple_options_only = true, |
|||
$get_attributes_with_single_options_only = false, |
|||
$attributs_list = null |
|||
| ) |
| integer | $product_id | |
| string | $return_mode | Values allowed : 'rough', 'option_name', 'full_name' |
| boolean | $get_attributes_with_multiple_options_only | |
| boolean | $get_attributes_with_single_options_only | |
| string | $attributs_list |
Definition at line 70 of file fonctions.php.
| get_product_options | ( | $id_or_technical_code, | |
| $lang, | |||
$return_mode = 'value' |
|||
| ) |
Récupère la liste des attributs liés à un produit.
| integer | $id | |
| string | $lang | |
| string | $return_mode |
Definition at line 755 of file fonctions.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.