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 TElement

Description

Base class for all HTML Elements

Located in /widget/base/TElement.php (line 14)


	
			
Direct descendents
Class Description
TPage Page Controller Pattern: used as container for all elements inside a page and also as a page controller
TDropDown TDropDown Widget
TCalendar Calendar Widget
TTreeView TreeView
TImage Image Widget
TFullCalendar FullCalendar Widget
TTextDisplay Text Display
TBreadCrumb BreadCrumb
TProgressBar TProgressBar
TAlert Alert
TFormSeparator Form separator
TScroll Scrolled Window: Allows to add another containers inside, creating scrollbars when its content is bigger than its visual area
TVBox Vertical Box
TTable Creates a table layout, with rows and columns
TTableCell TableCell: Represents a cell inside a table
TExpander Expander Widget
TTableRow TableRow: Represents a row inside a table
THBox Horizontal Box
TNotebook Notebook
TPanel Panel Container: Allows to organize the widgets using fixed (absolute) positions
TPanelGroup Bootstrap native panel for Adianti Framework
TJQueryDialog JQuery dialog container
TFrame Frame Widget: creates a bordered area with a title located at its top-left corner
TMenuBar Menubar Widget
TMenu Menu Widget
TMenuItem MenuItem Widget
Variable Summary
mixed $children
Method Summary
static tag ($tagname, $value, [$attributes = NULL])
__construct ($tagname)
add ($child)
close ()
del ($object)
get ($position)
getName ()
getProperty ($name)
insert ($position, $child)
open ()
setIsWrapped ($bool)
setName ($tagname)
setProperty ($name, $value)
setUseLineBreaks ($linebreaks)
setUseSingleQuotes ($singlequotes)
show ()
__clone ()
__get ($name)
__isset ($name)
__set ($name, $value)
__unset ($name)
Variables
mixed $children (line 21)
  • access: protected
Methods
static tag (line 46)

Create an element

  • access: public
static tag ($tagname, $value, [$attributes = NULL])
  • $tagname: Element name
  • $value: Element value
  • $attributes: Element attributes
Constructor __construct (line 28)

Class Constructor

  • access: public
__construct ($tagname)
  • $tagname: tag name

Redefined in descendants as:
add (line 211)

Add an child element

  • access: public
add ($child)
  • $child: Any object that implements the show() method

Redefined in descendants as:
clearChildren (line 395)

Clear element children

  • access: public
clearChildren ()

Redefined in descendants as:
close (line 363)

Closes the tag

  • access: public
close ()

Redefined in descendants as:
del (line 256)

Del an child element

  • access: public
del ($object)
  • $object: Any object that implements the show() method
get (line 279)

Get an child element

  • access: public
get ($position)
  • $position: Element position
getChildren (line 270)

get children

  • access: public
getChildren ()
getContents (line 383)

Returns the element content as a string

  • access: public
getContents ()
getIsWrapped (line 102)

Return if the element is wrapped inside another one

  • access: public
getIsWrapped ()
getName (line 85)

Returns tag name

  • access: public
getName ()
getProperties (line 134)

Return element properties

  • access: public
getProperties ()
getProperty (line 126)

Return a property

  • access: public
getProperty ($name)
  • $name: property name
insert (line 225)

Insert an child element

  • access: public
insert ($position, $child)
  • $position: Element position
  • $child: Any object that implements the show() method

Redefined in descendants as:
open (line 287)

Opens the tag

  • access: public
open ()
setIsWrapped (line 94)

Define if the element is wrapped inside another one

  • access: protected
setIsWrapped ($bool)
  • $bool: Boolean TRUE if is wrapped
setName (line 77)

Change the element name

  • access: public
setName ($tagname)
  • $tagname: Element name
setProperty (line 112)

Set tag property

  • access: public
setProperty ($name, $value)
  • $name: Property Name
  • $value: Property Value

Redefined in descendants as:
setUseLineBreaks (line 238)

Set the use of linebreaks

  • access: public
setUseLineBreaks ($linebreaks)
  • $linebreaks: boolean
setUseSingleQuotes (line 247)

Set the use of single quotes

  • access: public
setUseSingleQuotes ($singlequotes)
  • $singlequotes: boolean
show (line 322)

Shows the tag

  • access: public
show ()

Redefined in descendants as:
__clone (line 187)

Clone the object

  • access: public
__clone ()
__get (line 167)

Returns a property's value

  • access: public
__get ($name)
  • $name: Property Name
__isset (line 179)

Returns is a property's is set

  • access: public
__isset ($name)
  • $name: Property Name
__set (line 144)

Intercepts whenever someones assign a new property's value

  • access: public
__set ($name, $value)
  • $name: Property Name
  • $value: Property Value

Redefined in descendants as:
  • TPage::__set() : Intercepts whenever someones assign a new property's value
__toString (line 375)

Converts the object into a string

  • access: public
__toString ()
__unset (line 158)

Intercepts whenever someones unset a property's value

  • access: public
__unset ($name)
  • $name: Property Name