Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class THtmlRenderer

Description

Html Renderer

Located in /widget/template/THtmlRenderer.php (line 20)


	
			
Method Summary
static create ($path, $replaces)
static recursiveKeyArraySearch ($needle, $haystack)
__construct ($path)
disableSection ($sectionName)
enableSection ($sectionName, [$replacements = NULL], [$repeat = FALSE])
show ()
Methods
static create (line 57)

Creates HTML Renderer

  • access: public
static create ($path, $replaces)
  • $path
  • $replaces
static recursiveKeyArraySearch (line 349)

Static search in memory structure

  • access: public
static recursiveKeyArraySearch ($needle, $haystack)
  • $needle
  • $haystack
Constructor __construct (line 37)

Constructor method

  • access: public
__construct ($path)
  • $path: HTML resource path
disableHtmlConversion (line 67)

Disable htmlspecialchars on output

  • access: public
disableHtmlConversion ()
disableSection (line 97)

Diable section

  • access: public
disableSection ($sectionName)
  • $sectionName
enableSection (line 87)

Enable a HTML section to show

  • access: public
enableSection ($sectionName, [$replacements = NULL], [$repeat = FALSE])
  • $sectionName: Section name
  • $replacements: Array of replacements for this section
  • $repeat: Define if the section is repeatable
enableTranslation (line 75)

Enable translation inside template

  • access: public
enableTranslation ()
getContents (line 371)

Returns the HTML content as a string

  • access: public
getContents ()
show (line 211)

Show the HTML and the enabled sections

  • access: public
show ()