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_Config_Source
  • Smarty_Internal_Resource_Eval
  • Smarty_Internal_Resource_Extends
  • Smarty_Internal_Resource_File
  • Smarty_Internal_Resource_PHP
  • 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
  • Todo
  • Download

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 plugins/smarty/smarty_source/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
template name
$source
$source template source
$mtime
$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 }

Parameters

$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
source object
$_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
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
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
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen