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_Resource_Custom

Smarty Resource Plugin

Wrapper Implementation for custom resource plugins

Smarty_Resource
Extended by Smarty_Resource_Custom
Abstract
Package: Smarty\TemplateResources
Author: Rodney Rehm
Located at wa-system/vendors/smarty3/sysplugins/smarty_resource_custom.php
Methods summary
abstract protected
# fetch( string $name, string & $source, integer & $mtime )

fetch template and its modification time from data source

fetch template and its modification time from data source

Parameters

$name
string
$name template name
$source
string
&$source template source
$mtime
integer
&$mtime template modification timestamp (epoch)
protected integer|boolean
# fetchTimestamp( string $name )

Fetch template's modification timestamp from data source

Fetch template's modification timestamp from data source

implementing this method is optional. Only implement it if modification times can be accessed faster than loading the complete template source.}

Parameters

$name
string
$name template name

Returns

integer|boolean
timestamp (epoch) the template was modified, or false if not found
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 into current template object

Load template's source into current template object

Parameters

$source
Smarty_Template_Source
$source source object

Returns

string
template source

Throws

SmartyException
if source cannot be loaded
protected string
# getBasename( Smarty_Template_Source $source )

Determine basename for compiled filename

Determine basename for compiled filename

Parameters

$source
Smarty_Template_Source
$source source object

Returns

string
resource's basename

Overrides

Smarty_Resource::getBasename()
Methods inherited from Smarty_Resource
buildFilepath(), buildUniqueResourceName(), 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