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_Internal_Config_File_Compiler
  • Smarty_Internal_Configfilelexer
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Smarty_Internal_Config_File_Compiler

Main config file compiler class

Package: Smarty\Config
Author: Uwe Tews
Located at plugins/smarty/smarty_source/sysplugins/smarty_internal_config_file_compiler.php
Methods summary
public
# __construct( Smarty $smarty )

Initialize compiler

Initialize compiler

Parameters

$smarty
base instance
public boolean
# compileSource( Smarty_Internal_Config $config )

Method to compile a Smarty template.

Method to compile a Smarty template.

Parameters

$config
config object

Returns

boolean
true if compiling succeeded, false if it failed
public
# trigger_config_file_error( string $args = null )

display compiler error messages without dying If parameter $args is empty it is a parser detected syntax error. In this case the parser is called to obtain information about expected tokens. If parameter $args contains a string this is used as error message

display compiler error messages without dying If parameter $args is empty it is a parser detected syntax error. In this case the parser is called to obtain information about expected tokens. If parameter $args contains a string this is used as error message

Parameters

$args
individual error message or null

Throws

SmartyCompilerException
Properties summary
public object $lex

Lexer object

Lexer object

#
public object $parser

Parser object

Parser object

#
public Smarty $smarty

Smarty object

Smarty object

#
public Smarty_Internal_Config $config

Smarty object

Smarty object

#
public array $config_data

Compiled config data sections and variables

Compiled config data sections and variables

# array()
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen