API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

AdiantiTemplateHandler
in package

Template manipulation

Tags
version
7.6
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Methods

evaluateExpression()  : mixed
Evaluate math expression
processAttribution()  : mixed
Process variable attribution
replace()  : mixed
Replace a string with object properties within {pattern}
replaceFunctions()  : mixed
replace some php functions

Methods

evaluateExpression()

Evaluate math expression

public static evaluateExpression(mixed $expression) : mixed
Parameters
$expression : mixed

processAttribution()

Process variable attribution

public static processAttribution( $content,  &$replacements) : mixed
Parameters
$content :

Template content

$replacements :

Template variable replacements

replace()

Replace a string with object properties within {pattern}

public static replace( $content,  $object[, mixed $cast = null ][, mixed $replace_methods = false ]) : mixed
Parameters
$content :

String with pattern

$object :

Any object

$cast : mixed = null
$replace_methods : mixed = false

replaceFunctions()

replace some php functions

public static replaceFunctions(mixed $content) : mixed
Parameters
$content : mixed

        
On this page

Search results