Documentation

Parser
in package

View stream template parser class

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

parseArrays()  : string
Parse arrays in the template string
parseConditionals()  : string
Parse conditionals in the template string
parseScalars()  : string
Parse scalar values in the template string

Methods

parseArrays()

Parse arrays in the template string

public static parseArrays(string $template, array<string|int, mixed> $data, string $output) : string
Parameters
$template : string
$data : array<string|int, mixed>
$output : string
Return values
string

parseConditionals()

Parse conditionals in the template string

public static parseConditionals(string $template, array<string|int, mixed> $data, string $output) : string
Parameters
$template : string
$data : array<string|int, mixed>
$output : string
Return values
string

parseScalars()

Parse scalar values in the template string

public static parseScalars(array<string|int, mixed> $data, string $output) : string
Parameters
$data : array<string|int, mixed>
$output : string
Return values
string

        
On this page

Search results