Skip to content

Smarty_Internal_Runtime_CodeFrame

Class Smarty_Internal_Extension_CodeFrame Create code frame for compiled and cached templates

  • Full name: \Smarty_Internal_Runtime_CodeFrame

Methods

create

Create code frame for compiled and cached templates

public create(\Smarty_Internal_Template $_template, string $content = '', string $functions = '', bool $cache = false, \Smarty_Internal_TemplateCompilerBase $compiler = null): string

Parameters:

Parameter Type Description
$_template \Smarty_Internal_Template
$content string optional template content
$functions string compiled template function and block code
$cache bool flag for cache file
$compiler \Smarty_Internal_TemplateCompilerBase


Automatically generated on 2025-03-18