order Class Reference

List of all members.

Public Member Functions

  • order ($order_id= '', $table= '')
  • query ($order_id)
    Recuperation d'un command enregsitré.
  • cart ()

Public Attributes

Static Private Attributes

  • static $tables
    array tableau de table
  • static $mode
    bool Mode (orders=true | holding_order=false)

Detailed Description

Definition at line 13 of file order.php.


Member Function Documentation

order::cart (  ) 

Definition at line 196 of file order.php.

Referenced by order().

00196                   {
00197     global $customer_id, $sendto, $billto, $cart, $languages_id, $currency, $currencies, $shipping, $payment,$tax_address,$coupon_sav;
00198 
00199     $this->content_type = $cart->get_content_type();
00200 
00201     $customer_address_query = tep_db_query("select c.customers_firstname, c.customers_lastname, c.customers_telephone, c.customers_email_address, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, co.countries_id, co.countries_name, co.countries_iso_code_2, co.countries_iso_code_3, co.address_format_id, ab.entry_state from " . TABLE_CUSTOMERS . " c, " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) left join " . TABLE_COUNTRIES . " co on (ab.entry_country_id = co.countries_id) where c.customers_id = '" . (int)$customer_id . "' and ab.customers_id = '" . (int)$customer_id . "' and c.customers_default_address_id = ab.address_book_id");
00202     $customer_address = tep_db_fetch_array($customer_address_query);
00203 
00204     $shipping_address_query = tep_db_query("select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, ab.entry_country_id, c.countries_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format_id, ab.entry_state from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) left join " . TABLE_COUNTRIES . " c on (ab.entry_country_id = c.countries_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)$sendto . "'");
00205     $shipping_address = tep_db_fetch_array($shipping_address_query);
00206 // print_r($shipping_address);
00207     $billing_address_query = tep_db_query("select ab.entry_firstname, ab.entry_lastname, ab.entry_company, ab.entry_street_address, ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id, z.zone_name, ab.entry_country_id, c.countries_id, c.countries_name, c.countries_iso_code_2, c.countries_iso_code_3, c.address_format_id, ab.entry_state from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) left join " . TABLE_COUNTRIES . " c on (ab.entry_country_id = c.countries_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)$billto . "'");
00208     $billing_address = tep_db_fetch_array($billing_address_query);
00209 
00210     $tax_address_query = tep_db_query("select ab.entry_country_id, ab.entry_zone_id from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)($this->content_type == 'virtual' ? $billto : $sendto) . "'");
00211     $tax_address = tep_db_fetch_array($tax_address_query);
00212 
00213     $this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID,
00214                         'currency' => $currency,
00215                         'currency_value' => $currencies->currencies[$currency]['value'],
00216                         'payment_method' => $payment,
00217                         'cc_type' => (isset($GLOBALS['cc_type']) ? $GLOBALS['cc_type'] : ''),
00218                         'cc_owner' => (isset($GLOBALS['cc_owner']) ? $GLOBALS['cc_owner'] : ''),
00219                         'cc_number' => (isset($GLOBALS['cc_number']) ? $GLOBALS['cc_number'] : ''),
00220                         'cc_expires' => (isset($GLOBALS['cc_expires']) ? $GLOBALS['cc_expires'] : ''),
00221                         'shipping_method' => $shipping['title'],
00222                         'shipping_cost_ht' => (isset($shipping['cost_ht'])? $shipping['cost_ht']:0),
00223                         'shipping_cost' => $shipping['cost'],
00224                         'shipping_tax' => (isset($shipping['shipping_tax_total'])?$shipping['shipping_tax_total']:0),
00225                         'subtotal_ht' => 0,
00226                         'subtotal_taxe' => 0,
00227                         'subtotal' => 0,
00228                         'tax' => 0,
00229                         'tax_groups' => array(),
00230                         'total_weight' => 0,
00231                         'comments' => (isset($GLOBALS['comments']) ? $GLOBALS['comments'] : ''));
00232 
00233     if (isset($GLOBALS[$payment]) && is_object($GLOBALS[$payment])) {
00234       $this->info['payment_method'] = $GLOBALS[$payment]->title;
00235 
00236       if ( isset($GLOBALS[$payment]->order_status) && is_numeric($GLOBALS[$payment]->order_status) && ($GLOBALS[$payment]->order_status > 0) ) {
00237         $this->info['order_status'] = $GLOBALS[$payment]->order_status;
00238       }
00239     }
00240 
00241     $this->customer = array('firstname' => $customer_address['customers_firstname'],
00242                             'lastname' => $customer_address['customers_lastname'],
00243                             'company' => $customer_address['entry_company'],
00244                             'street_address' => $customer_address['entry_street_address'],
00245                             'suburb' => $customer_address['entry_suburb'],
00246                             'city' => $customer_address['entry_city'],
00247                             'postcode' => $customer_address['entry_postcode'],
00248                             'state' => ((tep_not_null($customer_address['entry_state'])) ? $customer_address['entry_state'] : $customer_address['zone_name']),
00249                             'zone_id' => $customer_address['entry_zone_id'],
00250                             'country' => array('id' => $customer_address['countries_id'], 'title' => $customer_address['countries_name'], 'iso_code_2' => $customer_address['countries_iso_code_2'], 'iso_code_3' => $customer_address['countries_iso_code_3']),
00251                             'format_id' => $customer_address['address_format_id'],
00252                             'telephone' => $customer_address['customers_telephone'],
00253                             'email_address' => $customer_address['customers_email_address']);
00254 
00255     $this->delivery = array('firstname' => $shipping_address['entry_firstname'],
00256                             'lastname' => $shipping_address['entry_lastname'],
00257                             'company' => $shipping_address['entry_company'],
00258                             'street_address' => $shipping_address['entry_street_address'],
00259                             'suburb' => $shipping_address['entry_suburb'],
00260                             'city' => $shipping_address['entry_city'],
00261                             'postcode' => $shipping_address['entry_postcode'],
00262                             'state' => ((tep_not_null($shipping_address['entry_state'])) ? $shipping_address['entry_state'] : $shipping_address['zone_name']),
00263                             'zone_id' => $shipping_address['entry_zone_id'],
00264                             'country' => array('id' => $shipping_address['countries_id'], 'title' => $shipping_address['countries_name'], 'iso_code_2' => $shipping_address['countries_iso_code_2'], 'iso_code_3' => $shipping_address['countries_iso_code_3']),
00265                             'country_id' => $shipping_address['entry_country_id'],
00266                             'format_id' => $shipping_address['address_format_id']);
00267 
00268     $this->billing = array('firstname' => $billing_address['entry_firstname'],
00269                             'lastname' => $billing_address['entry_lastname'],
00270                             'company' => $billing_address['entry_company'],
00271                             'street_address' => $billing_address['entry_street_address'],
00272                             'suburb' => $billing_address['entry_suburb'],
00273                             'city' => $billing_address['entry_city'],
00274                             'postcode' => $billing_address['entry_postcode'],
00275                             'state' => ((tep_not_null($billing_address['entry_state'])) ? $billing_address['entry_state'] : $billing_address['zone_name']),
00276                             'zone_id' => $billing_address['entry_zone_id'],
00277                             'country' => array('id' => $billing_address['countries_id'], 'title' => $billing_address['countries_name'], 'iso_code_2' => $billing_address['countries_iso_code_2'], 'iso_code_3' => $billing_address['countries_iso_code_3']),
00278                             'country_id' => $billing_address['entry_country_id'],
00279                             'format_id' => $billing_address['address_format_id']);
00280 
00281     $index = 0;
00282     $products = $cart->get_products();
00283 
00284     if( tep_session_is_registered( 'coupon_sav' ) && tep_not_null( $coupon_sav ) ) {
00285       require_once( DIR_WS_CLASSES.'discount_coupon.php' );
00286       $this->coupon = new discount_coupon( $coupon_sav, $this->delivery );
00287       $this->coupon->total_valid_products( $products );
00288       $valid_products_count = 0;
00289     }
00290 
00291 
00292     foreach($products as $prdct){
00293 
00294       $this->products[$index] = array('qty' => $prdct['quantity'],
00295                                       'name' => $prdct['name'],
00296                                       'model' => $prdct['model'],
00297 
00298                                       'tax' =>tep_get_tax_rate($prdct['tax_class_id'], $tax_address['entry_country_id'], $tax_address['entry_zone_id']),
00299                                       'tax_description' => tep_get_tax_description($prdct['tax_class_id'], $tax_address['entry_country_id'], $tax_address['entry_zone_id']),
00300 
00301                                       'price' => $prdct['final_price'],
00302                                       'final_price' => $prdct['final_price'],
00303                                       'final_price_ttc' => $prdct['final_price_ttc'],
00304 
00305                                       'weight' => $prdct['weight'] ,
00306                                       'id' => $prdct['id'],
00307 
00308                                       'total_line' => $prdct['total_line'],
00309                                       'total_line_taxe' => ($prdct['total_line_ttc'] -$prdct['total_line']),
00310                                       'total_line_ttc' => $prdct['total_line_ttc'],
00311                                       );
00312 
00313       if ($prdct['attributes']) {
00314         $subindex = 0;
00315         reset($prdct['attributes']);
00316         while (list($option, $value) = each($prdct['attributes'])) {
00317           $attributes_query = tep_db_query("select popt.products_options_name, popt.products_options_track_stock, poval.products_options_values_name, pa.options_values_price, pa.price_prefix,pa.options_values_weight from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . (int)$prdct['id'] . "' and pa.options_id = '" . (int)$option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . (int)$languages_id . "' and poval.language_id = '" . (int)$languages_id . "'");
00318 
00319           $attributes = tep_db_fetch_array($attributes_query);
00320           if(isset($prdct['attributes_values'][$option]) ) {
00321           /* Specifique option type texte / file champ personnalisé par le client */
00322             $attributes['products_options_values_name'] .= '('.$prdct['attributes_values'][$option].')';
00323           }
00324           $this->products[$index]['attributes'][$subindex] = array('option' => $attributes['products_options_name'],
00325                                                                     'value' => $attributes['products_options_values_name'],
00326                                                                     'option_id' => $option,
00327                                                                     'value_id' => $value,
00328                                                                     'prefix' => $attributes['price_prefix'],
00329                                                                     'price' => $attributes['options_values_price'],
00330                                                                     'track_stock' => $attributes['products_options_track_stock']);
00331 
00332           $subindex++;
00333         }
00334       }
00335 
00336     /*
00337       Calcul des totaux pour la commande.
00338       Seul les "$this->products" doivent être utilsié pour le calcul
00339     */
00340       if( is_object( $this->coupon ) ) {
00341         $applied_discount = 0;
00342         $discount = $this->coupon->calculate_discount( $this->products[$index], $valid_products_count );
00343         if( $discount['applied_discount'] > 0 ) $valid_products_count++;
00344         $shown_price = $this->coupon->calculate_shown_price( $discount, $this->products[$index] );
00345         $shown_taxe = tep_calculate_tax($shown_price['shown_price'], $this->products[$index]['tax']);
00346         $this->products[$index]['total_line']           = $shown_price['shown_price'];
00347         $this->products[$index]['total_line_taxe']      = $shown_taxe;
00348         $this->products[$index]['total_line_ttc']       = tep_add_tax($shown_price['shown_price'], $this->products[$index]['tax']);
00349       }
00350 
00351 
00352 
00353 
00354     /*
00355       Arrondis des sorties / line
00356     */
00357       $this->products[$index]['total_line']       =tep_round($this->products[$index]['total_line'],$currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
00358       $this->products[$index]['total_line_ttc'] =tep_round($this->products[$index]['total_line_ttc'],$currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
00359 
00360       $products_tax = $this->products[$index]['tax'];
00361       $products_tax_description = $this->products[$index]['tax_description'];
00362 
00363 //       $ttax=  $shown_taxe;
00364       $ttax = $this->products[$index]['total_line_taxe'];
00365       $this->info['tax'] += $ttax;
00366 
00367       if (isset($this->info['tax_groups']["$products_tax_description"]))   $this->info['tax_groups']["$products_tax_description"] +=$ttax;
00368       else   $this->info['tax_groups']["$products_tax_description"] =$ttax;
00369 
00370       $this->info['total_weight'] += $this->products[$index]['weight'];
00371 
00372       $this->info['subtotal_ht']        += $this->products[$index]['total_line'];
00373       $this->info['subtotal_taxe']      += $this->products[$index]['total_line_taxe'];
00374       $this->info['subtotal']   += $this->products[$index]['total_line_ttc'];
00375       $index++;
00376     }
00377 
00378     $this->info['total'] = $this->info['subtotal']  ;
00379     $this->info['total_ht'] = $this->info['subtotal_ht'] + $this->info['shipping_cost_ht'];
00380 
00381     if( is_object( $this->coupon ) )  $this->info = $this->coupon->finalize_discount($this->info);
00382 
00383   }

order::order ( order_id = '',
table = '' 
)
Parameters:
$order_id int
$table string

Definition at line 31 of file order.php.

00031                                               {
00032     $this->info = array();
00033     $this->totals = array();
00034     $this->products = array();
00035     $this->customer = array();
00036     $this->delivery = array();
00037 
00038     if (tep_not_null($order_id) && is_numeric($order_id)) {
00039 
00040       self::$mode=(tep_not_null($table)?false:true);
00041 
00042       $table=((!self::$mode)? '_'.strtoupper($table) : '');
00043 
00044       self::$tables=array( 'ORDERS'=>constant('TABLE'.$table.'_ORDERS'),
00045                            'TOTAL'=>constant('TABLE'.$table.'_ORDERS_TOTAL'),
00046                            'PRODUCTS'=>constant('TABLE'.$table.'_ORDERS_PRODUCTS'),
00047                            'ATTRIBUTES'=>constant('TABLE'.$table.'_ORDERS_PRODUCTS_ATTRIBUTES'),
00048                           );
00049       $this->query($order_id);
00050     } else {
00051       link_post_variable('cc_type');
00052       link_post_variable('cc_owner');
00053       link_post_variable('cc_number');
00054       link_post_variable('cc_expires');
00055       link_post_variable('comments');
00056       $this->cart();
00057     }
00058 
00059 
00060   }

order::query ( order_id  ) 

Recuperation d'un command enregsitré.

Parameters:
$order_id int

Definition at line 67 of file order.php.

Referenced by order().

00067                             {
00068     global $languages_id,$currencies;
00069 
00070     $order_id = tep_db_prepare_input($order_id);
00071 
00072     $sql="select orders_id,orders_prefix,customers_id,customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, o.customers_telephone, o.customers_email_address, customers_address_format_id, customers_group_name, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, currency, currency_value, date_purchased, orders_status, last_modified,ip_address, total_weight,orders_date_finished ".((self::$mode)?" ,facture_id ,holding_origin_id ":'')." from " . self::$tables['ORDERS'] . " o left join " . TABLE_CUSTOMERS . " using(customers_id) left join " . TABLE_CUSTOMERS_GROUPS . " using(customers_group_id) where orders_id = '" . (int)$order_id . "'";
00073 
00074     $order_query = tep_db_query($sql);
00075     $order = tep_db_fetch_array($order_query);
00076 
00077     $totals_query = tep_db_query("select title, text from " . self::$tables['TOTAL'] . " where orders_id = '" . (int)$order_id . "' order by sort_order");
00078     while ($totals = tep_db_fetch_array($totals_query)) {
00079       $this->totals[] = array('title' => $totals['title'],
00080                               'text' => $totals['text']);
00081     }
00082 
00083     $order_total_query = tep_db_query("select text from " . self::$tables['TOTAL'] . " where orders_id = '" . (int)$order_id . "' and class = 'ot_total'");
00084     $order_total = tep_db_fetch_array($order_total_query);
00085 
00086     $shipping_method_query = tep_db_query("select title from " . self::$tables['TOTAL'] . " where orders_id = '" . (int)$order_id . "' and class = 'ot_shipping'");
00087     $shipping_method = tep_db_fetch_array($shipping_method_query);
00088 
00089     $order_status_query = tep_db_query("select status_id, status_name as orders_status_name from " . TABLE_STATUS . " where status_type='orders' and status_id = '" . $order['orders_status'] . "' and language_id = '" . (int)$languages_id . "'");
00090     $order_status = tep_db_fetch_array($order_status_query);
00091 
00092     $this->info = array('orders_id' => $order['orders_id'],
00093                         'orders_prefix' => $order['orders_prefix'],
00094                         'currency' => $order['currency'],
00095                         'currency_value' => $order['currency_value'],
00096                         'payment_method' => $order['payment_method'],
00097                         'cc_type' => $order['cc_type'],
00098                         'cc_owner' => $order['cc_owner'],
00099                         'cc_number' => $order['cc_number'],
00100                         'cc_expires' => $order['cc_expires'],
00101                         'date_purchased' => $order['date_purchased'],
00102                         'orders_status' => $order_status['orders_status_name'],
00103                         'orders_status_id' => $order_status['status_id'],
00104                         'last_modified' => $order['last_modified'],
00105                         'total' => strip_tags($order_total['text']),
00106                         'shipping_method' => ((substr($shipping_method['title'], -1) == ':') ? substr(strip_tags($shipping_method['title']), 0, -1) : strip_tags($shipping_method['title'])),
00107                         'ip_address'=>$order['ip_address'],
00108                         'total_weight'=>$order['total_weight'],
00109                         'date_finish'=>$order['orders_date_finished'],
00110                       );
00111     if(self::$mode) {
00112       $this->info['facture_id']=$order['facture_id'];
00113       $this->info['holding_origin_id']=$order['holding_origin_id'];
00114     }
00115 
00116     $this->customer = array('id' => $order['customers_id'],
00117                             'name' => $order['customers_name'],
00118                             'company' => $order['customers_company'],
00119                             'street_address' => $order['customers_street_address'],
00120                             'suburb' => $order['customers_suburb'],
00121                             'city' => $order['customers_city'],
00122                             'postcode' => $order['customers_postcode'],
00123                             'state' => $order['customers_state'],
00124                             'country' => $order['customers_country'],
00125                             'format_id' => $order['customers_address_format_id'],
00126                             'customers_group_name' => $order['customers_group_name'],
00127                             'telephone' => $order['customers_telephone'],
00128                             'email_address' => $order['customers_email_address']);
00129 
00130     $this->delivery = array('name' => $order['delivery_name'],
00131                             'company' => $order['delivery_company'],
00132                             'street_address' => $order['delivery_street_address'],
00133                             'suburb' => $order['delivery_suburb'],
00134                             'city' => $order['delivery_city'],
00135                             'postcode' => $order['delivery_postcode'],
00136                             'state' => $order['delivery_state'],
00137                             'country' => $order['delivery_country'],
00138                             'format_id' => $order['delivery_address_format_id']);
00139 
00140     if (empty($this->delivery['name']) && empty($this->delivery['street_address'])) {
00141       $this->delivery = false;
00142     }
00143 
00144     $this->billing = array('name' => $order['billing_name'],
00145                             'company' => $order['billing_company'],
00146                             'street_address' => $order['billing_street_address'],
00147                             'suburb' => $order['billing_suburb'],
00148                             'city' => $order['billing_city'],
00149                             'postcode' => $order['billing_postcode'],
00150                             'state' => $order['billing_state'],
00151                             'country' => $order['billing_country'],
00152                             'format_id' => $order['billing_address_format_id']);
00153 
00154     $index = 0;
00155     $orders_products_query = tep_db_query("select orders_products_id, products_id, products_name, products_model, products_price, products_tax, products_quantity, final_price, products_returned,products_exchanged,products_exchanged_id  from " .self::$tables['PRODUCTS'] . " where orders_id = '" . (int)$order_id . "'");
00156 
00157     while ($orders_products = tep_db_fetch_array($orders_products_query)) {
00158       $this->products[$index] = array('qty' => $orders_products['products_quantity'],
00159                                       'id' => $orders_products['products_id'],
00160                                       'name' => $orders_products['products_name'],
00161                                       'model' => $orders_products['products_model'],
00162                                       'tax' => $orders_products['products_tax'],
00163                                       'price' => $orders_products['products_price'],
00164                                       'final_price' => $orders_products['final_price'],
00165                                       'id' => $orders_products['products_id'],
00166                                       'return' => $orders_products['products_returned'],
00167                                       'exchange' => $orders_products['products_exchanged'],
00168                                       'exchange_id' => $orders_products['products_exchanged_id'] );
00169 
00170       $subindex = 0;
00171       $attributes_query = tep_db_query("select products_options, products_options_values, options_values_price, price_prefix from " .self::$tables['ATTRIBUTES'] . " where orders_id = '" . (int)$order_id . "' and orders_products_id = '" . (int)$orders_products['orders_products_id'] . "'");
00172       if (tep_db_num_rows($attributes_query)) {
00173         while ($attributes = tep_db_fetch_array($attributes_query)) {
00174           $this->products[$index]['attributes'][$subindex] = array('option' => $attributes['products_options'],
00175                                                                     'value' => $attributes['products_options_values'],
00176                                                                     'prefix' => $attributes['price_prefix'],
00177                                                                     'price' => $attributes['options_values_price']);
00178 
00179           $subindex++;
00180         }
00181       }
00182 
00183       $shown_price= ($this->products[$index]['final_price'] * $this->products[$index]['qty']);
00184 
00185       $this->products[$index]['final_price_ttc']        = tep_round(tep_add_tax($this->products[$index]['final_price'], $this->products[$index]['tax']),$currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
00186       $this->products[$index]['total_line']             = tep_round($shown_price,$currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
00187       $this->products[$index]['total_line_taxe']        = tep_calculate_tax($shown_price, $this->products[$index]['tax']);
00188       $this->products[$index]['total_line_ttc']         = tep_round(tep_add_tax($this->products[$index]['final_price'], $this->products[$index]['tax'])  * $this->products[$index]['qty'],$currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
00189 
00190       $this->info['tax_groups']["{$this->products[$index]['tax']}"] = '1';
00191 
00192       $index++;
00193     }
00194   }


Member Data Documentation

order::$content_type

Definition at line 14 of file order.php.

order::$coupon

Definition at line 14 of file order.php.

order::$customer

Definition at line 14 of file order.php.

order::$delivery

Definition at line 14 of file order.php.

order::$info

Definition at line 14 of file order.php.

order::$mode [static, private]

bool Mode (orders=true | holding_order=false)

Definition at line 24 of file order.php.

order::$products

Definition at line 14 of file order.php.

Referenced by cart().

order::$tables [static, private]

array tableau de table

Definition at line 19 of file order.php.

order::$totals

Definition at line 14 of file order.php.

Referenced by query().


The documentation for this class was generated from the following file: