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 TRadioGroup

Description

Implements interfaces:

A group of RadioButton's

Located in /widget/form/TRadioGroup.php (line 26)

TField
   |
   --TRadioGroup
Direct descendents
Class Description
TDBRadioGroup Database Radio Widget
Variable Summary
Method Summary
static clearField ($form_name, $field)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
addItems ($items)
setBreakItems ($breakItems)
setChangeAction ($action)
setChangeFunction ($function)
setLayout ($dir)
setValue ($value)
show ()
__clone ()
Variables
mixed $changeFunction (line 35)
  • access: protected
mixed $formName (line 36)
  • access: protected

Redefinition of:
TField::$formName
mixed $is_boolean (line 39)
  • access: protected
mixed $labelClass (line 37)
  • access: protected
mixed $useButton (line 38)
  • access: protected

Inherited Variables

Inherited from TField

TField::$editable
TField::$id
TField::$label
TField::$name
TField::$size
TField::$tag
TField::$value
Methods
static clearField (line 279)

clear the field

  • access: public
static clearField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::clearField()
Clear the field
static disableField (line 269)

Disable the field

  • access: public
static disableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::disableField()
Disable the field
static enableField (line 259)

Enable the field

  • access: public
static enableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::enableField()
Enable the field
Constructor __construct (line 45)

Class Constructor

  • access: public
__construct ($name)
  • $name: name of the field

Redefinition of:
TField::__construct()
Class Constructor

Redefined in descendants as:
addItems (line 185)

Add items to the radio group

  • access: public
addItems ($items)
  • $items: An indexed array containing the options
getButtons (line 216)

Return the option buttons

  • access: public
getButtons ()
getItems (line 208)

Return the items

  • access: public
getItems ()
getLabels (line 224)

Return the option labels

  • access: public
getLabels ()
getLayout (line 159)

Get the direction (vertical or horizontal)

  • access: public
getLayout ()
getPostData (line 134)

Return the post data

  • access: public
getPostData ()

Redefinition of:
TField::getPostData()
Return the post data
getValue (line 119)

Returns the field's value

  • access: public
getValue ()

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

Implementation of:
AdiantiWidgetInterface::getValue()
setBooleanMode (line 81)

Enable/disable boolean mode

  • access: public
setBooleanMode ()
setBreakItems (line 167)

Define after how much items, it will break

  • access: public
setBreakItems ($breakItems)
  • $breakItems
setChangeAction (line 233)

Define the action to be executed when the user changes the combo

  • access: public
setChangeAction ($action)
  • $action: TAction object
setChangeFunction (line 249)

Set change function

  • access: public
setChangeFunction ($function)
  • $function
setLayout (line 151)

Define the direction of the options

  • access: public
setLayout ($dir)
  • $dir: String (vertical, horizontal)
setUseButton (line 175)

Show as button

  • access: public
setUseButton ()
setValue (line 104)

Define the field's value

  • access: public
setValue ($value)
  • $value: A string containing the field's value

Redefinition of:
TField::setValue()
Define the field's value

Implementation of:
AdiantiWidgetInterface::setValue()
show (line 287)

Show the widget at the screen

  • access: public
show ()

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

Clone 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()