Class Smarty_Internal_SmartyTemplateCompiler

Description

Class SmartyTemplateCompiler

Located in /libs/sysplugins/smarty_internal_smartytemplatecompiler.php (line 23)

Smarty_Internal_TemplateCompilerBase
   |
   --Smarty_Internal_SmartyTemplateCompiler
Variable Summary
object $lex
string $lexer_class
array $local_var
object $parser
string $parser_class
object $smarty
Method Summary
Smarty_Internal_SmartyTemplateCompiler __construct (string $lexer_class, string $parser_class, Smarty $smarty)
bool doCompile (mixed $_content)
Variables
Methods
Constructor __construct (line 74)

Initialize compiler

  • access: public
Smarty_Internal_SmartyTemplateCompiler __construct (string $lexer_class, string $parser_class, Smarty $smarty)
  • string $lexer_class: class name
  • string $parser_class: class name
  • Smarty $smarty: global instance

Redefinition of:
Smarty_Internal_TemplateCompilerBase::__construct()
Initialize compiler
doCompile (line 89)

Methode to compile a Smarty template

  • return: true if compiling succeeded, false if it failed
  • access: protected
bool doCompile (mixed $_content)
  • mixed $_content: template source

Inherited Methods

Inherited From Smarty_Internal_TemplateCompilerBase

Smarty_Internal_TemplateCompilerBase::__construct()
Smarty_Internal_TemplateCompilerBase::callTagCompiler()
Smarty_Internal_TemplateCompilerBase::compileTag()
Smarty_Internal_TemplateCompilerBase::compileTemplate()
Smarty_Internal_TemplateCompilerBase::getPlugin()
Smarty_Internal_TemplateCompilerBase::getPluginFromDefaultHandler()
Smarty_Internal_TemplateCompilerBase::processNocacheCode()
Smarty_Internal_TemplateCompilerBase::trigger_template_error()

Documentation generated on Sat, 24 Sep 2011 20:23:59 +0200 by phpDocumentor 1.4.1