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 TLabel

Description

Implements interfaces:

Label Widget

Located in /widget/form/TLabel.php (line 19)

TField
   |
   --TLabel
Variable Summary
mixed $id
mixed $size
mixed $value
Method Summary
__construct ($value, [$color = null], [$fontsize = null], [$decoration = null], [$size = null])
add ($content)
setFontColor ($color)
setFontFace ($font)
setFontSize ($size)
setFontStyle ($decoration)
show ()
__clone ()
Variables
mixed $id (line 25)
  • access: protected

Redefinition of:
TField::$id
mixed $size (line 24)
  • access: protected

Redefinition of:
TField::$size
mixed $value (line 23)
  • access: protected

Redefinition of:
TField::$value

Inherited Variables

Inherited from TField

TField::$editable
TField::$formName
TField::$label
TField::$name
TField::$tag
Methods
Constructor __construct (line 31)

Class Constructor

  • access: public
__construct ($value, [$color = null], [$fontsize = null], [$decoration = null], [$size = null])
  • $value: text label
  • $color
  • $fontsize
  • $decoration
  • $size

Redefinition of:
TField::__construct()
Class Constructor
add (line 127)

Add a content inside the label

add ($content)
  • $content
getValue (line 140)

Get value

  • access: public
getValue ()

Redefinition of:
TField::getValue()
Returns the field's value

Implementation of:
AdiantiWidgetInterface::getValue()
setFontColor (line 118)

Define the font color

  • access: public
setFontColor ($color)
  • $color: Font Color
setFontFace (line 109)

Define the font face

  • access: public
setFontFace ($font)
  • $font: Font Family Name
setFontSize (line 78)

Define the font size

  • access: public
setFontSize ($size)
  • $size: Font size in pixels
setFontStyle (line 87)

Define the style

  • access: public
setFontStyle ($decoration)
  • $decoration: text decorations (b=bold, i=italic, u=underline)
show (line 148)

Shows the widget at the screen

  • access: public
show ()

Implementation of:
AdiantiWidgetInterface::show()
__clone (line 68)

Clone the object

  • access: public
__clone ()

Redefinition of:
TField::__clone()
Clone the object

Inherited Methods

Inherited From TField

TField::__construct()
TField::addValidation()
TField::clearField()
TField::disableField()
TField::enableField()
TField::getContents()
TField::getEditable()
TField::getFormName()
TField::getId()
TField::getLabel()
TField::getName()
TField::getPostData()
TField::getProperty()
TField::getSize()
TField::getValidations()
TField::getValue()
TField::isRequired()
TField::setEditable()
TField::setFormName()
TField::setId()
TField::setLabel()
TField::setName()
TField::setProperty()
TField::setSize()
TField::setTip()
TField::setValue()
TField::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__set()