PEEL Shopping
Open source ecommerce : PEEL Shopping
prefetch.php File Reference

Go to the source code of this file.


const PEEL_PREFETCH true
 $short_url = $_SERVER['REQUEST_URI']
if(empty($GLOBALS['site_parameters']['enable_prefetch'])) if(String::strpos($short_url, '?')!==false) if(String::strpos($short_url, '/')===0) $sql
 $query = query($sql)
if($result=fetch_assoc($query)) if (function_exists('convertHrefUri'))

Variable Documentation

$query = query($sql)

Definition at line 46 of file prefetch.php.

$short_url = $_SERVER['REQUEST_URI']

Definition at line 17 of file prefetch.php.

if ($result=fetch_assoc($query)) $sql
Initial value:
= "SELECT r.*
FROM peel_rubriques r
WHERE " . get_filter_site_cond('rubriques', 'r') . " AND (r.technical_code='".real_escape_string($short_url)."' OR r.technical_code='/".real_escape_string($short_url)."')
Definition: database.php:374
Definition: prefetch.php:17
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

Definition at line 42 of file prefetch.php.

if ($result=fetch_assoc($query)) if(function_exists('convertHrefUri'))

Definition at line 65 of file prefetch.php.

const PEEL_PREFETCH true

Definition at line 14 of file prefetch.php.

This documentation for Open ecommerce PEEL Shopping and has been generated by Doxygen on Thu Oct 15 2015 14:41:43 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.