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
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cSmartyBackend
  • cSmartyFrontend
  • cSmartyWrapper
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cSmartyWrapper

Wrapper class for Integration of smarty.

Smarty
Extended by cSmartyWrapper
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.wrapper.php
Methods summary
public mixed|string
# fetch( string $template = NULL, mixed $cache_id = NULL, mixed $compile_id = NULL, object $parent = NULL, boolean $display = false, boolean $merge_tpl_vars = true, boolean $no_output_filter = false )

Parameters

$template
string
$template the resource handle of the template file or template object
$cache_id
mixed
$cache_id cache id to be used with this template
$compile_id
mixed
$compile_id compile id to be used with this template
$parent
object
$parent next higher level of Smarty variables
$display
boolean
$display
$merge_tpl_vars
boolean
$merge_tpl_vars
$no_output_filter
boolean
$no_output_filter

Returns

mixed|string

See

Smarty_Internal_TemplateBase::fetch()
public string
# fetchGeneral( string $template = NULL, mixed $cache_id = NULL, mixed $compile_id = NULL, object $parent = NULL, boolean $display = false, boolean $merge_tpl_vars = true, boolean $no_output_filter = false )

Parameters

$template
string
$template the resource handle of the template file or template object
$cache_id
mixed
$cache_id cache id to be used with this template
$compile_id
mixed
$compile_id compile id to be used with this template
$parent
object
$parent next higher level of Smarty variables
$display
boolean
$display
$merge_tpl_vars
boolean
$merge_tpl_vars
$no_output_filter
boolean
$no_output_filter

Returns

string

See

Smarty_Internal_TemplateBase::fetch()
public
# display( string $template = NULL, mixed $cache_id = NULL, mixed $compile_id = NULL, object $parent = NULL )

Parameters

$template
string
$template the resource handle of the template file or template object
$cache_id
mixed
$cache_id cache id to be used with this template
$compile_id
mixed
$compile_id compile id to be used with this template
$parent
object
$parent next higher level of Smarty variables
public
# displayGeneral( string $template = NULL, mixed $cache_id = NULL, mixed $compile_id = NULL, object $parent = NULL )

Parameters

$template
string
$template the resource handle of the template file or template object
$cache_id
mixed
$cache_id cache id to be used with this template
$compile_id
mixed
$compile_id compile id to be used with this template
$parent
object
$parent next higher level of Smarty variables

See

Smarty_Internal_TemplateBase::display()
public integer
# clearCache( string $template_name, string $cache_id = null, string $compile_id = null, integer $exp_time = null, string $type = null )

Empty cache for a specific template

Empty cache for a specific template

Parameters

$template_name
string
$template_name template name
$cache_id
string
$cache_id cache id
$compile_id
string
$compile_id compile id
$exp_time
integer
$exp_time expiration time
$type
string
$type resource type

Returns

integer
number of cache files deleted
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0