Pionia Core

TemplateEngineInterface
in

Table of Contents

Methods

clearCache()  : void
Clear the cached files
parse()  : string
Parse the template file and return the content as string
view()  : void
Render a template file

Methods

parse()

Parse the template file and return the content as string

public parse( $file[, array<string|int, mixed>|null $data = null ]) : string
Parameters
$file :
$data : array<string|int, mixed>|null = null
Return values
string

view()

Render a template file

public view( $file[, array<string|int, mixed>|null $data = [] ]) : void
Parameters
$file :
$data : array<string|int, mixed>|null = []

        
On this page

Search results