Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • Smarty_Internal_Utility
  • Smarty_Security
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Smarty_Internal_Utility

Utility class

Package: Smarty\Security
Copyright: 2008 New Digital Group, Inc.
Author: Monte Ohrt <monte at ohrt dot com>
Author: Uwe Tews
Located at wa-system/vendors/smarty3/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
string
$extension template file name extension
$force_compile
boolean
$force_compile force all to recompile
$time_limit
integer
$time_limit set maximum execution time
$max_errors
integer
$max_errors set maximum allowed errors
$smarty
Smarty
$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
string
$extension config file name extension
$force_compile
boolean
$force_compile force all to recompile
$time_limit
integer
$time_limit set maximum execution time
$max_errors
integer
$max_errors set maximum allowed errors
$smarty
Smarty
$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
string
$resource_name template name
$compile_id
string
$compile_id compile id
$exp_time
integer
$exp_time expiration time
$smarty
Smarty
$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
Smarty_Internal_Template
$templae template object

Returns

array
of tag/attributes
public static boolean
# testInstall( Smarty $smarty, array & $errors = null )

diagnose Smarty setup

diagnose Smarty setup

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

Parameters

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

Returns

boolean
status, true if everything is fine, false else
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0