PEEL Shopping
Open source ecommerce : PEEL Shopping
Variables
export_produits.php File Reference

Go to the source code of this file.

Variables

const IN_PEEL_ADMIN true
 
 $excluded_fields = array('stock')
 
 $specific_fields_array = array($GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_LISTED_PRICE_INCLUDING_VAT'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_LISTED_PRICE_EXCLUDING_VAT'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_SIZES'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_COLORS'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_BRAND'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_ASSOCIATED_PRODUCTS'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_CATEGORY'])
 
 $hook_result = call_module_hook('export_products_get_configuration_array', array(), 'array')
 
if(!empty($_GET['encoding'])) elseif(!empty($GLOBALS['site_parameters']['export_encoding'])) else
 
 $output = ''
 
 $filename = "export_produits_" . str_replace('/', '-', date($GLOBALS['date_basic_format_short'])) . ".csv"
 
 $product_field_names = get_table_field_names('peel_produits')
 
 $title_line_output = array()
 
 $q
 
 $query = query($q)
 
 $i = 0
 
 while ($result=fetch_assoc($query))
 

Variable Documentation

$excluded_fields = array('stock')

Definition at line 21 of file export_produits.php.

$filename = "export_produits_" . str_replace('/', '-', date($GLOBALS['date_basic_format_short'])) . ".csv"

Definition at line 36 of file export_produits.php.

$hook_result = call_module_hook('export_products_get_configuration_array', array(), 'array')

Definition at line 24 of file export_produits.php.

$i = 0

Definition at line 70 of file export_produits.php.

foreach ($product_field_names as $this_field_name) $output = ''

Definition at line 35 of file export_produits.php.

$product_field_names = get_table_field_names('peel_produits')

Definition at line 41 of file export_produits.php.

$q
Initial value:
= "SELECT p.*, c.id AS categorie_id, c.nom_" . $_SESSION['session_langue'] . " AS categorie
FROM peel_produits p
INNER JOIN peel_produits_categories pc ON pc.produit_id=p.id
INNER JOIN peel_categories c ON c.id = pc.categorie_id AND " . get_filter_site_cond('categories', 'c') . "
WHERE " . get_filter_site_cond('produits', 'p', true) . "
GROUP BY id
ORDER BY id"
get_filter_site_cond($table_technical_code, $table_alias=null, $use_strict_rights_if_in_admin=false, $specific_site_id=null, $exclude_public_items=false, $admin_force_multisite_if_allowed=false)
Retourne la condition SQL permettant de filtrer les données pour une table.
Definition: fonctions.php:4643
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']

Definition at line 62 of file export_produits.php.

$query = query($q)

Definition at line 69 of file export_produits.php.

$specific_fields_array = array($GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_LISTED_PRICE_INCLUDING_VAT'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_LISTED_PRICE_EXCLUDING_VAT'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_SIZES'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_COLORS'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_BRAND'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_ASSOCIATED_PRODUCTS'], $GLOBALS['STR_ADMIN_EXPORT_PRODUCTS_CATEGORY'])

Definition at line 22 of file export_produits.php.

$title_line_output = array()

Definition at line 56 of file export_produits.php.

if (!empty($_GET['encoding'])) elseif (!empty($GLOBALS['site_parameters']['export_encoding'])) else
Initial value:
{
$page_encoding = 'utf-8'
if(!check_if_module_active('search')) $page_encoding
Definition: produit.php:23

Definition at line 32 of file export_produits.php.

const IN_PEEL_ADMIN true

Definition at line 14 of file export_produits.php.

while($result=fetch_assoc($query))

Definition at line 71 of file export_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 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.