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

  • Smarty_Internal_Utility
  • Smarty_Security
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Smarty_Internal_Utility

Utility class

Package: Smarty\Security
Copyright: 2008 New Digital Group, Inc.
Author: Monte Ohrt
Author: Uwe Tews
Located at plugins/smarty/smarty_source/sysplugins/smarty_internal_utility.php
Methods summary
final private
# __construct( )

private constructor to prevent calls creation of new instances

private constructor to prevent calls creation of new instances

public static integer
# compileAllTemplates( string $extension, boolean $force_compile, integer $time_limit, integer $max_errors, Smarty $smarty )

Compile all template files

Compile all template files

Parameters

$extension
template file name extension
$force_compile
force all to recompile
$time_limit
set maximum execution time
$max_errors
set maximum allowed errors
$smarty
Smarty instance

Returns

integer
number of template files compiled
public static integer
# compileAllConfig( string $extension, boolean $force_compile, integer $time_limit, integer $max_errors, Smarty $smarty )

Compile all config files

Compile all config files

Parameters

$extension
config file name extension
$force_compile
force all to recompile
$time_limit
set maximum execution time
$max_errors
set maximum allowed errors
$smarty
Smarty instance

Returns

integer
number of config files compiled
public static integer
# clearCompiledTemplate( string $resource_name, string $compile_id, integer $exp_time, Smarty $smarty )

Delete compiled template file

Delete compiled template file

Parameters

$resource_name
template name
$compile_id
compile id
$exp_time
expiration time
$smarty
Smarty instance

Returns

integer
number of template files deleted
public static array
# getTags( Smarty_Internal_Template $template )

Return array of tag/attributes of all tags used by an template

Return array of tag/attributes of all tags used by an template

Parameters

$template

Returns

array
of tag/attributes

Throws

Exception
SmartyException
public static boolean
# testInstall( Smarty $smarty, array & $errors = null )

diagnose Smarty setup If $errors is secified, the diagnostic report will be appended to the array, rather than being output.

diagnose Smarty setup If $errors is secified, the diagnostic report will be appended to the array, rather than being output.

Parameters

$smarty
Smarty instance to test
$errors
array to push results into rather than outputting them

Returns

boolean
status, true if everything is fine, false else
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen