XmlrpcSmartyTemplate
in package
implements
TemplateEngineInterface, TemplateInterface
Dumb (dumb dumb) smarty-like template system
Tags
Table of Contents
Interfaces
Properties
- $template : mixed
- $templates : mixed
Methods
- __construct() : mixed
- load() : $this
- render() : string
- setTemplate() : void
- setTemplates() : void
Properties
$template
protected
mixed
$template
= ''
$templates
protected
static mixed
$templates
= array()
Methods
__construct()
public
__construct(string $template) : mixed
Parameters
- $template : string
load()
public
load(string $templateName) : $this
Parameters
- $templateName : string
Return values
$thisrender()
public
render([array<string|int, mixed> $params = array() ]) : string
Parameters
- $params : array<string|int, mixed> = array()
Return values
stringsetTemplate()
public
static setTemplate(string $templateName, string $templateString) : void
Parameters
- $templateName : string
- $templateString : string
setTemplates()
public
static setTemplates(array<string|int, string> $templateArray) : void
Parameters
- $templateArray : array<string|int, string>