Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cSmartyBackend
  • cSmartyFrontend
  • cSmartyWrapper
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cSmartyFrontend

Wrapper class for Integration of smarty.

Direct known subclasses

cSmartyBackend
Package: Plugin\SmartyWrapper
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Andreas Dieter
Located at plugins/smarty/classes/class.smarty.frontend.php
Methods summary
public
# __construct( array & $aCfg, array & $aClientCfg, $bSanityCheck = false )

constructor

constructor

Parameters

$aCfg
$aCfg contenido cfg array
$aClientCfg

$aClientCfg contenido client cfg array of the specific client

$bSanityCheck

Throws

cException
cInvalidArgumentException

if the given configurations are not an array

public
# __clone( )

prevent users from cloning instance

prevent users from cloning instance

Throws

cException
if this function is called
public
# __destruct( )

destructor set cSmarty::bSmartyInstanciated to false

destructor set cSmarty::bSmartyInstanciated to false

public static cSmartyWrapper
# getInstance( boolean $bResetTemplate = false )

static function to provide the smart object

static function to provide the smart object

Parameters

$bResetTemplate

true if the template values shall all be resetted

Returns

cSmartyWrapper

Throws

cException
if singleton has not been instantiated yet
public static
# resetPaths( )

sets the default paths again

sets the default paths again

Properties summary
protected static Smarty $oSmarty

The smarty Object

The smarty Object

#
public static boolean $bSmartyInstanciated

static flag to simulate singleton behaviour

static flag to simulate singleton behaviour

# false
protected static array $aDefaultPaths

static default paths

static default paths

# array()
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen