Documentation

TemplateInterface
in

View template interface

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
4.0.0

Table of Contents

Methods

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>
Return values
string

        
On this page

Search results