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

THtmlRenderer
in package

Html Renderer

Tags
version
7.6
subpackage

template

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

Properties

$buffer  : mixed
$enabledSections  : mixed
$enabledTranslation  : mixed
$HTMLOutputConversion  : mixed
$path  : mixed
$repeatSection  : mixed
$replacements  : mixed
$sections  : mixed
$template  : mixed

Methods

__construct()  : mixed
Constructor method
create()  : mixed
Creates HTML Renderer
disableHtmlConversion()  : mixed
Disable htmlspecialchars on output
disableSection()  : mixed
Diable section
enableSection()  : mixed
Enable a HTML section to show
enableTranslation()  : mixed
Enable translation inside template
getContents()  : mixed
Returns the HTML content as a string
recursiveKeyArraySearch()  : mixed
Static search in memory structure
show()  : mixed
Show the HTML and the enabled sections
replace()  : mixed
Replace the content with array of replacements

Properties

Methods

__construct()

Constructor method

public __construct( $path) : mixed
Parameters
$path :

HTML resource path

create()

Creates HTML Renderer

public static create(mixed $path, mixed $replaces) : mixed
Parameters
$path : mixed
$replaces : mixed

disableHtmlConversion()

Disable htmlspecialchars on output

public disableHtmlConversion() : mixed

disableSection()

Diable section

public disableSection(mixed $sectionName) : mixed
Parameters
$sectionName : mixed

enableSection()

Enable a HTML section to show

public enableSection( $sectionName[,  $replacements = NULL ][,  $repeat = FALSE ]) : mixed
Parameters
$sectionName :

Section name

$replacements : = NULL

Array of replacements for this section

$repeat : = FALSE

Define if the section is repeatable

enableTranslation()

Enable translation inside template

public enableTranslation() : mixed

getContents()

Returns the HTML content as a string

public getContents() : mixed

recursiveKeyArraySearch()

Static search in memory structure

public static recursiveKeyArraySearch(mixed $needle, mixed $haystack) : mixed
Parameters
$needle : mixed
$haystack : mixed

show()

Show the HTML and the enabled sections

public show() : mixed

replace()

Replace the content with array of replacements

private replace( &$replacements,  $content) : mixed
Parameters
$replacements :

array of replacements

$content :

content to be replaced


        
On this page

Search results