Documentation

TemplateInterface
in

View template interface

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.3.0

Table of Contents

getTemplate()  : string
Get view template
render()  : string
Render the view and return the output
setTemplate()  : TemplateInterface
Set view template

Methods

getTemplate()

Get view template

public getTemplate() : string
Return values
string

render()

Render the view and return the output

public render(array<string|int, mixed> $data) : string
Parameters
$data : array<string|int, mixed>
Tags
throws
Exception
Return values
string

Search results