Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Variables
productgallery.php File Reference

Go to the source code of this file.

## Variables
if( $CategoryID !=0) | $sectionObject =& eZSection::globalSectionObject( $GlobalSectionID )
| $ini =& eZINI::instance( 'site.ini' )
| $Language = $ini->variable( "eZTradeMain", "Language" )
| $Limit = $ini->variable( "eZTradeMain", "ProductGalleryLimit" )
| $ShowPriceGroups = $ini->variable( "eZTradeMain", "PriceGroupsEnabled" ) == "true"
| $RequireUserLogin = $ini->variable( "eZTradeMain", "RequireUserLogin" ) == "true"
| $PricesIncludeVAT = $ini->variable( "eZTradeMain", "PricesIncludeVAT" ) == "enabled" ? true : false
| $CapitalizeHeadlines = $ini->variable( "eZArticleMain", "CapitalizeHeadlines" )
| $ThumbnailImageWidth = $ini->variable( "eZTradeMain", "ThumbnailImageWidth" )
| $ThumbnailImageHeight = $ini->variable( "eZTradeMain", "ThumbnailImageHeight" )
| $t
| $category = new eZProductCategory()
| $pathArray = $category->path()
foreach( $pathArray as $path) | $categoryList =& $category->getByParent( $category )
| $i = 0
foreach( $categoryList as $categoryItem) if(count( $categoryList)==0) | else
| $TotalTypes =& $category->productCount( $category->sortMode(), false )
| $productgallery =& $category->activeProducts( "alphanumeric_asc", $Offset, $Limit, $category->id() )
| $locale = new eZLocale( $Language )
| $groupi = 0

## Variable Documentation

## ◆ $CapitalizeHeadlines

$CapitalizeHeadlines = $ini->variable( "eZArticleMain", "CapitalizeHeadlines" )

Definition at line 61 of file productgallery.php.

## ◆ $category

$category = new eZProductCategory()

Definition at line 106 of file productgallery.php.

## ◆ $categoryList

foreach ($pathArray as $path) $categoryList =& $category->getByParent( $category )

Definition at line 122 of file productgallery.php.

## ◆ $groupi

$groupi = 0

Definition at line 181 of file productgallery.php.

## ◆ $i

$i = 0

Definition at line 125 of file productgallery.php.

## ◆ $ini

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

Definition at line 53 of file productgallery.php.

## ◆ $Language

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

Definition at line 55 of file productgallery.php.

## ◆ $Limit

$Limit = $ini->variable( "eZTradeMain", "ProductGalleryLimit" )

Definition at line 56 of file productgallery.php.

## ◆ $locale

$locale = new eZLocale( $Language )

Definition at line 179 of file productgallery.php.

## ◆ $pathArray

$pathArray = $category->path()

Definition at line 110 of file productgallery.php.

## ◆ $PricesIncludeVAT

$PricesIncludeVAT = $ini->variable( "eZTradeMain", "PricesIncludeVAT" ) == "enabled" ? true : false

Definition at line 59 of file productgallery.php.

## ◆ $productgallery

$productgallery =& $category->activeProducts( "alphanumeric_asc", $Offset, $Limit, $category->id() )

Definition at line 177 of file productgallery.php.

## ◆ $RequireUserLogin

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

Definition at line 58 of file productgallery.php.

## ◆ $sectionObject

if ($CategoryID !=0) $sectionObject =& eZSection::globalSectionObject( $GlobalSectionID )

Definition at line 49 of file productgallery.php.

## ◆ $ShowPriceGroups

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

Definition at line 57 of file productgallery.php.

## ◆ $t

$t

Initial value:
= new eZTemplate( "kernel/eztrade/user/" . $ini->variable( "eZTradeMain", "TemplateDir" ),
"kernel/eztrade/user/intl/", $Language, "productgallery.php" )
eZTemplate
Definition: eztemplate.php:107
$Language
$Language
Definition: productgallery.php:55
$ini
$ini
Definition: productgallery.php:53

Definition at line 67 of file productgallery.php.

## ◆ $ThumbnailImageHeight

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

Definition at line 64 of file productgallery.php.

## ◆ $ThumbnailImageWidth

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

Definition at line 63 of file productgallery.php.

## ◆ $TotalTypes

$TotalTypes =& $category->productCount( $category->sortMode(), false )

Definition at line 175 of file productgallery.php.

## ◆ else

if ($GenerateStaticPage==true) else

Initial value:
{
$t->parse( "category_list", "category_list_tpl" )
$t
$t
Definition: productgallery.php:67

Definition at line 162 of file productgallery.php.

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