Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Variables
admin/orderview.php File Reference

Go to the source code of this file.

## Variables
if(isset( $Cancel)) | $ini =& eZINI::instance( 'site.ini' )
| $Language = $ini->variable( "eZTradeMain", "Language" )
| $ShowPriceGroups = $ini->variable( "eZTradeMain", "PriceGroupsEnabled" ) == "true"
| $languageINI = new eZINI( "kernel/eztrade/user/intl/" . $Language . "/orderview.php.ini", false )
| $t
| $order = new eZOrder( $OrderID )
| $user = eZUser::currentUser()
if(! $user) | $localUser = $order->user()
| $items = $order->items( $OrderType )
| $locale = new eZLocale( $Language )
| $currency = new eZCurrency()
| $i = 0
| $sum = 0.0
foreach( $items as $item) | $shippingCost = $order->shippingCharge()
| $totalVAT = $order->totalVAT()
if( $order->isVATInc()) | else
| $checkout = new eZCheckout()
| $instance =& $checkout->instance()
| $paymentMethod = $instance->paymentName( $order->paymentMethod() )
| $shippingType = $order->shippingType()

## Variable Documentation

## ◆ $checkout

$checkout = new eZCheckout()

Definition at line 288 of file admin/orderview.php.

## ◆ $currency

$currency = new eZCurrency()

Definition at line 213 of file admin/orderview.php.

## ◆ $i

$i = 0

Definition at line 215 of file admin/orderview.php.

## ◆ $ini

if (isset($Cancel)) $ini =& eZINI::instance( 'site.ini' )

Definition at line 42 of file admin/orderview.php.

## ◆ $instance

$instance =& $checkout->instance()

Definition at line 289 of file admin/orderview.php.

## ◆ $items

$items = $order->items( $OrderType )

Definition at line 211 of file admin/orderview.php.

Referenced by eZCart\cartTotals(), eZCart\clear(), eZWishList\clear(), eZOrderConfirmation\confirm(), eZDir\copy(), eZCart\delete(), eZOrder\delete(), eZWishList\delete(), ezpbKernelAdmin\getPolicyCheckViewMap(), ezpbKernelWeb\getPolicyCheckViewMap(), ezpKernelWeb\getPolicyCheckViewMap(), eZCodePage\load(), eZLinkSection\moveDown(), eZLinkItem\moveDown(), eZLinkSection\moveUp(), eZLinkItem\moveUp(), newOrders(), eZOrder\orderTotals(), eZOrderConfirmation\sendMail(), and eZCart\shippingCost().

## ◆ $Language

$Language = $ini->variable( "eZTradeMain", "Language" )

Definition at line 43 of file admin/orderview.php.

## ◆ $languageINI

$languageINI = new eZINI( "kernel/eztrade/user/intl/" . $Language . "/orderview.php.ini", false )

Definition at line 46 of file admin/orderview.php.

## ◆ $locale

$locale = new eZLocale( $Language )

Definition at line 212 of file admin/orderview.php.

## ◆ $localUser

if (! $user) $localUser = $order->user()

Definition at line 96 of file admin/orderview.php.

## ◆ $order

$order = new eZOrder( $OrderID )

Definition at line 74 of file admin/orderview.php.

## ◆ $paymentMethod

$paymentMethod = $instance->paymentName( $order->paymentMethod() )

Definition at line 290 of file admin/orderview.php.

## ◆ $shippingCost

foreach ($items as $item) $shippingCost = $order->shippingCharge()

Definition at line 267 of file admin/orderview.php.

Referenced by eZCart\addShippingVAT(), eZCart\cartTotals(), eZCart\extractShippingVAT(), eZCart\extractShippingVATPercentage(), eZOrder\orderTotals(), and eZOrderConfirmation\sendMail().

## ◆ $shippingType

$shippingType = $order->shippingType()

Definition at line 294 of file admin/orderview.php.

## ◆ $ShowPriceGroups

$ShowPriceGroups = $ini->variable( "eZTradeMain", "PriceGroupsEnabled" ) == "true"

Definition at line 44 of file admin/orderview.php.

## ◆ $sum

$sum = 0.0

Definition at line 216 of file admin/orderview.php.

## ◆ $t

$t

Initial value:
= new eZTemplate( "kernel/eztrade/admin/" . $ini->variable( "eZTradeMain", "TemplateDir" ),
"kernel/eztrade/user/intl/", $Language, "orderview.php" )
$ini
if(isset( $Cancel)) $ini
Definition: admin/orderview.php:42
$Language
$Language
Definition: admin/orderview.php:43
eZTemplate
Definition: eztemplate.php:107

Definition at line 57 of file admin/orderview.php.

## ◆ $totalVAT

$totalVAT = $order->totalVAT()

Definition at line 272 of file admin/orderview.php.

## ◆ $user

$user = eZUser::currentUser()

Definition at line 76 of file admin/orderview.php.

## ◆ else

if ($order->isVATInc()) else

Initial value:
{
$sum += $shippingCost
$shippingCost
foreach( $items as $item) $shippingCost
Definition: admin/orderview.php:267
$sum
$sum
Definition: admin/orderview.php:216

Definition at line 281 of file admin/orderview.php.

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.