[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/kernel/shop/ -> unarchiveorder.php (source)

   1  <?php
   2  //
   3  // Definition of UnarchiveOrder.
   4  //
   5  // Created on: <03-Mar-2004 09:45:38 wy>
   6  //
   7  // SOFTWARE NAME: eZ publish
   8  // SOFTWARE RELEASE: 3.9.0
   9  // BUILD VERSION: 17785
  10  // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS
  11  // SOFTWARE LICENSE: GNU General Public License v2.0
  12  // NOTICE: >
  13  //   This program is free software; you can redistribute it and/or
  14  //   modify it under the terms of version 2.0  of the GNU General
  15  //   Public License as published by the Free Software Foundation.
  16  //
  17  //   This program is distributed in the hope that it will be useful,
  18  //   but WITHOUT ANY WARRANTY; without even the implied warranty of
  19  //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20  //   GNU General Public License for more details.
  21  //
  22  //   You should have received a copy of version 2.0 of the GNU General
  23  //   Public License along with this program; if not, write to the Free
  24  //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  25  //   MA 02110-1301, USA.
  26  //
  27  //
  28  
  29  /*! \file unarchiveorder.php
  30  */
  31  
  32  include_once ( "kernel/common/template.php" );
  33  include_once ( "kernel/classes/ezorder.php" );
  34  
  35  $Module =& $Params["Module"];
  36  $http =& eZHTTPTool::instance();
  37  $orderIDArray = $http->sessionVariable( "OrderIDArray" );
  38  
  39  $db =& eZDB::instance();
  40  $db->begin();
  41  foreach ( $orderIDArray as $archiveID )
  42  {
  43      eZOrder::unarchiveOrder( $archiveID );
  44  }
  45  $db->commit();
  46  $Module->redirectTo( '/shop/archivelist/' );
  47  ?>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7