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_Template_Source

Smarty Resource Data Object Meta Data Container for Template Files

Direct known subclasses

Smarty_Config_Source
Package: Smarty\TemplateResources
Author: Rodney Rehm
Located at plugins/smarty/smarty_source/sysplugins/smarty_resource.php
Methods summary
public
# __construct( Smarty_Resource $handler, Smarty $smarty, string $resource, string $type, string $name, string $unique_resource )

create Source Object container

create Source Object container

Parameters

$handler
Resource Handler this source object communicates with
$smarty
Smarty instance this source object belongs to
$resource
full template_resource
$type
type of resource
$name
resource name
$unique_resource
unique resource name
public Smarty_Template_Compiled
# getCompiled( Smarty_Internal_Template|Smarty_Internal_Config $_template )

get a Compiled Object of this source

get a Compiled Object of this source

Parameters

$_template
template object

Returns

Smarty_Template_Compiled
compiled object
public
# renderUncompiled( Smarty_Internal_Template $_template )

render the uncompiled source

render the uncompiled source

Parameters

$_template
template object
public
# __set( string $property_name, mixed $value )

<> Generic Setter.

<> Generic Setter.

Parameters

$property_name
valid: timestamp, exists, content, template
$value
new value (is not checked)

Throws

SmartyException
if $property_name is not valid
public mixed
# __get( string $property_name )

<> Generic getter.

<> Generic getter.

Parameters

$property_name
valid: timestamp, exists, content

Returns

mixed

Throws

SmartyException
if $property_name is not valid
Properties summary
public string $compiler_class

Name of the Class to compile this resource's contents with

Name of the Class to compile this resource's contents with

# null
public string $template_lexer_class

Name of the Class to tokenize this resource's contents with

Name of the Class to tokenize this resource's contents with

# null
public string $template_parser_class

Name of the Class to parse this resource's contents with

Name of the Class to parse this resource's contents with

# null
public string $uid

Unique Template ID

Unique Template ID

# null
public string $resource

Template Resource (Smarty_Internal_Template::$template_resource)

Template Resource (Smarty_Internal_Template::$template_resource)

# null
public string $type

Resource Type

Resource Type

# null
public string $name

Resource Name

Resource Name

# null
public string $unique_resource

Unique Resource Name

Unique Resource Name

# null
public string $filepath

Source Filepath

Source Filepath

# null
public boolean $uncompiled

Source is bypassing compiler

Source is bypassing compiler

# null
public boolean $recompiled

Source must be recompiled on every occasion

Source must be recompiled on every occasion

# null
public array $components

The Components an extended template is made of

The Components an extended template is made of

# null
public Smarty_Resource $handler

Resource Handler

Resource Handler

# null
public Smarty $smarty

Smarty instance

Smarty instance

# null
Magic properties summary
public integer $timestamp

Source Timestamp

public boolean $exists

Source Existence

public boolean $template

Extended Template reference

public string $content

Source Content

CMS CONTENIDO 4.9.7 API documentation generated by ApiGen