Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

buy.php
Go to the documentation of this file.
1 <?php
3 //
4 // $Id: buy.php 7216 2001-09-14 12:23:02Z jhe $
5 //
6 // Created on: <14-Sep-2001 15:01:24 jhe>
7 //
8 // This source file is part of Exponential Basic, publishing software.
9 // Copyright (C) 1999-2001 eZ systems as
10 //
11 // This program is free software; you can redistribute it and/or
12 // modify it under the terms of the GNU General Public License
13 // as published by the Free Software Foundation; either version 2
14 // of the License, or (at your option) any later version.
15 //
16 // This program is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 // GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program; if not, write to the Free Software
23 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, US
24 //
25
26 // include_once( "eztrade/classes/ezcart.php" );
27 $cart = new eZCart();
28 $session =& eZSession::globalSession();
29 $cart->setSession( $session );
30 $cart->setCompanyID( $CompanyID );
31 $cart->setPersonID( $PersonID );
32
33 $cart->store();
34 // include_once( "classes/ezhttptool.php" );
35 eZHTTPTool::header( "Location: /trade/productlist/0/" );
36 exit();
37
38 ?>
$cart
$cart
Definition: buy.php:27
$session
$session
Definition: buy.php:28
eZCart
Definition: ezcart.php:71
eZHTTPTool\header
static header( $string)
Definition: ezhttptool.php:96
eZSession\globalSession
static & globalSession( $id="", $fetch=true)
Definition: kernel/ezsession/classes/ezsession.php:614
exit
exit
Definition: folder.php:81
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.