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_Config_Source
  • Smarty_Internal_Resource_Eval
  • Smarty_Internal_Resource_Extends
  • Smarty_Internal_Resource_File
  • Smarty_Internal_Resource_PHP
  • Smarty_Internal_Resource_Registered
  • Smarty_Internal_Resource_Stream
  • Smarty_Internal_Resource_String
  • Smarty_Resource
  • Smarty_Resource_Custom
  • Smarty_Resource_Recompiled
  • Smarty_Resource_Uncompiled
  • Smarty_Template_Cached
  • Smarty_Template_Compiled
  • Smarty_Template_Source
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class Smarty_Internal_Resource_String

Smarty Internal Plugin Resource String

Implements the strings as resource for Smarty template

unlike eval-resources the compiled state of string-resources is saved for subsequent access}

Smarty_Resource
Extended by Smarty_Internal_Resource_String
Package: Smarty\TemplateResources
Author: Uwe Tews
Author: Rodney Rehm
Located at wa-system/vendors/smarty3/sysplugins/smarty_internal_resource_string.php
Methods summary
public
# populate( Smarty_Template_Source $source, Smarty_Internal_Template $_template = null )

populate Source Object with meta data from Resource

populate Source Object with meta data from Resource

Parameters

$source
Smarty_Template_Source
$source source object
$_template
Smarty_Internal_Template
$_template template object
public string
# getContent( Smarty_Template_Source $source )

Load template's source from $resource_name into current template object

Load template's source from $resource_name into current template object

Parameters

$source
Smarty_Template_Source
$source source object

Returns

string
template source

Throws

SmartyException
if source cannot be loaded

Uses

Smarty_Internal_Resource_String::decode()
to decode base64 and urlencoded template_resources
protected string
# decode( string $string )

decode base64 and urlencode

decode base64 and urlencode

Parameters

$string
string
$string template_resource to decode

Returns

string
decoded template_resource

Used by

Smarty_Internal_Resource_String::getContent()
to decode base64 and urlencoded template_resources
protected string
# buildUniqueResourceName( Smarty $smarty, string $resource_name )

modify resource_name according to resource handlers specifications

modify resource_name according to resource handlers specifications

Parameters

$smarty
Smarty
$smarty Smarty instance
$resource_name
string
$resource_name resource_name to make unique

Returns

string
unique resource name

Overrides

Smarty_Resource::buildUniqueResourceName()
protected string
# getBasename( Smarty_Template_Source $source )

Determine basename for compiled filename

Determine basename for compiled filename

Always returns an empty string.

Parameters

$source
Smarty_Template_Source
$source source object

Returns

string
resource's basename

Overrides

Smarty_Resource::getBasename()
Methods inherited from Smarty_Resource
buildFilepath(), config(), fileExists(), getUniqueTemplateName(), load(), normalizePath(), parseResourceName(), populateCompiledFilepath(), populateTimestamp(), source()
Properties inherited from Smarty_Resource
$compileds, $compiler_class, $resources, $sources, $sysplugins, $template_lexer_class, $template_parser_class
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0