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 TElement

Description

Base class for all HTML Elements

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


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

Create an element

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

Class Constructor

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

Redefined in descendants as:
add (line 260)

Add an child element

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

Redefined in descendants as:
after (line 91)

Insert element after

  • access: public
after ($element)
  • $element
clearChildren (line 514)

Clear element children

  • access: public
clearChildren ()

Redefined in descendants as:
close (line 486)

BC only

  • access: public
close ()

Redefined in descendants as:
closeTag (line 474)

Closes the tag

  • access: public
closeTag ()
del (line 305)

Del an child element

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

Find child element

  • access: public
find ($element, [$properties = null])
  • $element: tag name
  • $properties: match properties
get (line 367)

Get an child element

  • access: public
get ($position)
  • $position: Element position
getAfterElement (line 99)

Return the after element

  • access: public
getAfterElement ()
getChildren (line 319)

get children

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

Returns the element content as a string

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

Return if the element is wrapped inside another one

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

Returns tag name

  • access: public
getName ()

Redefined in descendants as:
getProperties (line 183)

Return element properties

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

Return a property

  • access: public
getProperty ($name)
  • $name: property name
hide (line 83)

hide object

  • access: public
hide ()
insert (line 274)

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

BC only

  • access: public
open ()
openTag (line 375)

Opens the tag

  • access: public
openTag ()
setIsWrapped (line 125)

Define if the element is wrapped inside another one

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

Change the element name

  • access: public
setName ($tagname)
  • $tagname: Element name

Redefined in descendants as:
setProperties (line 156)

Set element properties

  • access: public
setProperties ($properties)
  • $properties
setProperty (line 143)

Set tag property

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

Redefined in descendants as:
setUseLineBreaks (line 287)

Set the use of linebreaks

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

Set the use of single quotes

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

Shows the tag

  • access: public
show ()

Redefined in descendants as:
__clone (line 236)

Clone the object

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

Returns a property's value

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

Returns is a property's is set

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

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

Converts the object into a string

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

Intercepts whenever someones unset a property's value

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