Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Variables
menuarticleview.php File Reference

Go to the source code of this file.

## Variables
| $GlobalSectionID = eZArticleCategory::sectionIDStatic( $CategoryID )
| $ini =& eZINI::instance( 'site.ini' )
| $Language = $ini->variable( "eZArticleMain", "Language" )
| $ForceCategoryDefinition = $ini->variable( "eZArticleMain", "ForceCategoryDefinition" )
| $CapitalizeHeadlines = $ini->variable( "eZArticleMain", "CapitalizeHeadlines" )
| $TemplateDir = $ini->variable( "eZArticleMain", "TemplateDir" )
if( $ForceCategoryDefinition=="enabled") | $t
| $StaticPage = false
if( $url_array[2]=="static"|| $url_array[2]=="articlestatic") | $override = "_override_$CategoryID"
if( $StaticPage==true) | else
| $SiteURL = $ini->variable( "site", "UserSiteURL" )
| $article = new eZArticle( )
| $types = $article->types()
| $typeCount = count( $types )
if( $typeCount > 0) | $files = $article->files()
| $SiteTitleAppend = $article->name()
| $SiteDescriptionOverride = str_replace( "\"", "", strip_tags( $articleContents[0] ) )

## Variable Documentation

## ◆ $article

$article = new eZArticle( )

Definition at line 136 of file menuarticleview.php.

## ◆ $CapitalizeHeadlines

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

Definition at line 47 of file menuarticleview.php.

## ◆ $files

if ($typeCount > 0) $files = $article->files()

Definition at line 342 of file menuarticleview.php.

## ◆ $ForceCategoryDefinition

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

Definition at line 46 of file menuarticleview.php.

## ◆ $GlobalSectionID

$GlobalSectionID = eZArticleCategory::sectionIDStatic( $CategoryID )

Definition at line 40 of file menuarticleview.php.

## ◆ $ini

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

Definition at line 43 of file menuarticleview.php.

## ◆ $Language

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

Definition at line 45 of file menuarticleview.php.

## ◆ $override

if ($url_array[2]=="static"||$url_array[2]=="articlestatic") $override = "_override_$CategoryID"

Definition at line 68 of file menuarticleview.php.

## ◆ $SiteDescriptionOverride

$SiteDescriptionOverride = str_replace( "\"", "", strip_tags( $articleContents[0] ) )

Definition at line 454 of file menuarticleview.php.

## ◆ $SiteTitleAppend

$SiteTitleAppend = $article->name()

Definition at line 453 of file menuarticleview.php.

## ◆ $SiteURL

$SiteURL = $ini->variable( "site", "UserSiteURL" )

Definition at line 128 of file menuarticleview.php.

## ◆ $StaticPage

$StaticPage = false

Definition at line 60 of file menuarticleview.php.

## ◆ $t

if ($ForceCategoryDefinition=="enabled") $t

Initial value:
= new eZTemplate( "kernel/ezarticle/user/" . $TemplateDir,
"kernel/ezarticle/user/intl/", $Language, "articleview.php" )
eZTemplate
Definition: eztemplate.php:107
$TemplateDir
$TemplateDir
Definition: menuarticleview.php:48
$Language
$Language
Definition: menuarticleview.php:45

Definition at line 55 of file menuarticleview.php.

## ◆ $TemplateDir

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

Definition at line 48 of file menuarticleview.php.

## ◆ $typeCount

$typeCount = count( $types )

Definition at line 306 of file menuarticleview.php.

## ◆ $types

$types = $article->types()

Definition at line 304 of file menuarticleview.php.

## ◆ else

if (isset($GenerateStaticPage) &&$GenerateStaticPage=="true") else

Initial value:
{
if ( isset( $PrintableVersion ) and $PrintableVersion == "enabled" )
{
$t->set_file( "article_view_page_tpl", "articleprint.tpl" );
}
else
{
if ( file_exists( "kernel/ezarticle/user/$TemplateDir/articleview" . $override . ".tpl" ) )
$t->set_file( "article_view_page_tpl", "articleview" . $override . ".tpl" );
else
$t->set_file( "article_view_page_tpl", "menuarticleview.tpl" );
}
}
$t->set_block( "article_view_page_tpl", "path_item_tpl", "path_item" )
file_exists
static file_exists( $inifilename)
Definition: eZPBINIFile.php:195
$t
if( $ForceCategoryDefinition=="enabled") $t
Definition: menuarticleview.php:55
$override
if( $url_array[2]=="static"|| $url_array[2]=="articlestatic") $override
Definition: menuarticleview.php:68

Definition at line 77 of file menuarticleview.php.

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