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 cSmartyWrapper

Wrapper class for Integration of smarty.

Smarty_Internal_Data
Extended by Smarty_Internal_TemplateBase
Extended by 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 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
the resource handle of the template file or template object
$cache_id
cache id to be used with this template
$compile_id
compile id to be used with this template
$parent
next higher level of Smarty variables
$display
true: display, false: fetch
$merge_tpl_vars
if true parent template variables merged in to local scope
$no_output_filter
if true do not run output filter

Returns

string
rendered template output

Throws

Exception
SmartyException

See

Smarty_Internal_TemplateBase::fetch()

Overrides

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

See

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

displays a Smarty template

displays a Smarty template

Parameters

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

Overrides

Smarty_Internal_TemplateBase::display()
public
# displayGeneral( $template = NULL, $cache_id = NULL, $compile_id = NULL, $parent = NULL )

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
template name
$cache_id
cache id
$compile_id
compile id
$exp_time
expiration time
$type
resource type

Returns

integer
number of cache files deleted

Overrides

Smarty::clearCache()
Methods inherited from Smarty
__clone(), __construct(), __destruct(), __get(), __set(), addAutoloadFilters(), addConfigDir(), addDefaultModifiers(), addPluginsDir(), addTemplateDir(), clearAllCache(), clearCompiledTemplate(), compileAllConfig(), compileAllTemplates(), createTemplate(), disableSecurity(), enableSecurity(), getAutoloadFilters(), getCacheDir(), getCompileDir(), getConfigDir(), getDebugTemplate(), getDefaultModifiers(), getGlobal(), getPluginsDir(), getTags(), getTemplateDir(), loadPlugin(), muteExpectedErrors(), mutingErrorHandler(), setAutoloadFilters(), setCacheDir(), setCompileDir(), setConfigDir(), setDebugTemplate(), setDefaultModifiers(), setPluginsDir(), setTemplateDir(), templateExists(), testInstall(), unmuteExpectedErrors()
Methods inherited from Smarty_Internal_TemplateBase
__call(), _get_filter_name(), createData(), getRegisteredObject(), isCached(), loadFilter(), registerCacheResource(), registerClass(), registerDefaultConfigHandler(), registerDefaultPluginHandler(), registerDefaultTemplateHandler(), registerFilter(), registerObject(), registerPlugin(), registerResource(), unloadFilter(), unregisterCacheResource(), unregisterFilter(), unregisterObject(), unregisterPlugin(), unregisterResource()
Methods inherited from Smarty_Internal_Data
append(), appendByRef(), assign(), assignByRef(), assignGlobal(), clearAllAssign(), clearAssign(), clearConfig(), configLoad(), getConfigVariable(), getConfigVars(), getStreamVariable(), getTemplateVars(), getVariable()
Constants inherited from Smarty
CACHING_LIFETIME_CURRENT, CACHING_LIFETIME_SAVED, CACHING_OFF, CLEAR_EXPIRED, COMPILECHECK_CACHEMISS, COMPILECHECK_OFF, COMPILECHECK_ON, FILTER_OUTPUT, FILTER_POST, FILTER_PRE, FILTER_VARIABLE, PHP_ALLOW, PHP_PASSTHRU, PHP_QUOTE, PHP_REMOVE, PLUGIN_BLOCK, PLUGIN_COMPILER, PLUGIN_FUNCTION, PLUGIN_MODIFIER, PLUGIN_MODIFIERCOMPILER, SCOPE_GLOBAL, SCOPE_LOCAL, SCOPE_PARENT, SCOPE_ROOT, SMARTY_VERSION
Properties inherited from Smarty
$_CHARSET, $_DATE_FORMAT, $_IS_WINDOWS, $_MBSTRING, $_UTF8_MODIFIER, $_cacheresource_handlers, $_current_file, $_dir_perms, $_file_perms, $_is_file_cache, $_muted_directories, $_parserdebug, $_previous_error_handler, $_resource_handlers, $_smarty_vars, $_tag_stack, $allow_ambiguous_resources, $allow_php_templates, $auto_literal, $autoload_filters, $cache_id, $cache_lifetime, $cache_locking, $cache_modified_check, $caching, $caching_type, $compile_check, $compile_id, $compile_locking, $config_booleanize, $config_overwrite, $config_read_hidden, $debug_tpl, $debugging, $debugging_ctrl, $default_config_handler_func, $default_config_type, $default_modifiers, $default_plugin_handler_func, $default_resource_type, $default_template_handler_func, $direct_access_security, $error_reporting, $error_unassigned, $escape_html, $force_cache, $force_compile, $get_used_tags, $global_tpl_vars, $inheritance_merge_compiled_includes, $joined_config_dir, $joined_template_dir, $left_delimiter, $locking_timeout, $merge_compiled_includes, $merged_templates_func, $php_handling, $plugin_search_order, $properties, $registered_cache_resources, $registered_classes, $registered_filters, $registered_objects, $registered_plugins, $registered_resources, $right_delimiter, $security_class, $security_policy, $smarty, $smarty_debug_id, $start_time, $template_functions, $template_objects, $use_include_path, $use_sub_dirs
Properties inherited from Smarty_Internal_Data
$config_vars, $parent, $template_class, $tpl_vars
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen