TemplateParser deprecated
interface TemplateParser (View source)
deprecated 5.4.0 Will be renamed to SilverStripe\TemplateEngine\TemplateParser
This interface needs to be implemented by any template parser that is used in SSViewer
Methods
public
string
compileString(string $string, string $templateName = "", bool $includeDebuggingComments = false)
Compiles some passed template source code into the php code that will execute as per the template source.
Details
string
compileString(string $string, string $templateName = "", bool $includeDebuggingComments = false)
Compiles some passed template source code into the php code that will execute as per the template source.