Template
in package
Table of Contents
- KEY_ADDRESSLIST = 'addresslist'
- KEY_ESTATELIST = 'estatelist'
- KEY_FORM = 'form'
- $_pAddressList : AddressList|null
- $_pEstateList : EstateListBase|null
- $_pForm : Form|null
- $_templateName : string
- render() : string
- withAddressList() : $this
- withEstateList() : $this
- withForm() : $this
- withTemplateName() : self
- buildFilePath() : string
- getTemplateName() : string
- getIncludeContents() : string
- Method that provides important variables to template Must not expose $this
Constants
KEY_ADDRESSLIST
public
mixed
KEY_ADDRESSLIST
= 'addresslist'
KEY_ESTATELIST
public
mixed
KEY_ESTATELIST
= 'estatelist'
KEY_FORM
public
mixed
KEY_FORM
= 'form'
Properties
$_pAddressList
private
AddressList|null
$_pAddressList
= null
$_pEstateList
private
EstateListBase|null
$_pEstateList
= null
$_pForm
private
Form|null
$_pForm
= null
$_templateName
private
string
$_templateName
= ''
Methods
render()
public
render() : string
Tags
Return values
string —withAddressList()
public
withAddressList(AddressList $pAddressList) : $this
Parameters
- $pAddressList : AddressList
Return values
$this —withEstateList()
public
withEstateList(EstateListBase $pEstateList) : $this
Parameters
- $pEstateList : EstateListBase
Return values
$this —withForm()
public
withForm(Form $pForm) : $this
Parameters
- $pForm : Form
Return values
$this —withTemplateName()
public
withTemplateName(string $templateName) : self
Parameters
- $templateName : string
Return values
self —buildFilePath()
protected
buildFilePath() : string
Tags
Return values
string —getTemplateName()
protected
getTemplateName() : string
Return values
string —getIncludeContents()
Method that provides important variables to template Must not expose $this
private
static getIncludeContents(array<string|int, mixed> $templateData, string $templatePath, Container $pContainer) : string
Parameters
- $templateData : array<string|int, mixed>
- $templatePath : string
- $pContainer : Container