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 recursiveKeyArraySearch ($needle, $haystack)
static replaceFunctions ($content)
__construct ($path)
enableSection ($sectionName, [$replacements = NULL], [$repeat = FALSE])
show ()
Methods
static recursiveKeyArraySearch (line 378)

Static search in memory structure

  • access: public
static recursiveKeyArraySearch ($needle, $haystack)
  • $needle
  • $haystack
static replaceFunctions (line 157)

replace some php functions

  • access: public
static replaceFunctions ($content)
  • $content
Constructor __construct (line 36)

Constructor method

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

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 55)

Enable translation inside template

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

Returns the HTML content as a string

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

Show the HTML and the enabled sections

  • access: public
show ()