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 TCheckButton

Description

Implements interfaces:

CheckButton widget

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

TField
   |
   --TCheckButton
Method Summary
__construct ($name)
setIndexValue ($index)
setUseSwitch ([$useSwitch = TRUE], [$labelClass = 'blue'])
show ()
Methods
Constructor __construct (line 29)

Class Constructor

  • access: public
__construct ($name)
  • $name: Name of the widget

Redefinition of:
TField::__construct()
Class Constructor
setIndexValue (line 50)

Define the index value for check button

  • access: public
setIndexValue ($index)
  • $index
setUseSwitch (line 40)

Show as switch

  • access: public
setUseSwitch ([$useSwitch = TRUE], [$labelClass = 'blue'])
  • $useSwitch
  • $labelClass
show (line 58)

Shows the widget at the screen

  • access: public
show ()

Implementation of:
AdiantiWidgetInterface::show()

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::getPropertiesAsString()
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::setValueCallback()
TField::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__isset()
TField::__set()
TField::__toString()