RadioList
class RadioList extends AbstractInputList (View source)
The RadioList class.
Methods
__construct(string $name, mixed|null $options = array(), array $attribs = array(), mixed $checked = null)
Constructor
from AbstractInputList
option(string $text = null, string $value = null, array $attribs = array(), string $group = null)
option
from AbstractInputList
setDisabled(boolean $disabled)
Method to set property disabled
from AbstractInputList
setReadonly(boolean $readonly)
Method to set property readonly
from AbstractInputList
Details
in AbstractInputList at line line 66
__construct(string $name, mixed|null $options = array(), array $attribs = array(), mixed $checked = null)
Constructor
in AbstractInputList at line line 182
string
toString(boolean $forcePair = false)
toString
in DomElement at line line 79
string
render(boolean $forcePair = false)
Alias of toString()
in DomElement at line line 89
string
__toString()
Convert this object to string.
in DomElement at line line 106
mixed
getContent()
Get content.
in DomElement at line line 118
DomElement
setContent(mixed $content)
Set content.
in DomElement at line line 133
string
getAttribute(string $name, mixed $default = null)
Get attributes.
in DomElement at line line 151
DomElement
setAttribute(string $name, string $value)
Set attribute value.
in DomElement at line line 163
array
getAttributes()
Get all attributes.
in DomElement at line line 175
DomElement
setAttributes(array $attribs)
Set all attributes.
in DomElement at line line 187
string
getName()
Get element tag name.
in DomElement at line line 199
DomElement
setName(string $name)
Set element tag name.
in DomElement at line line 214
boolean
offsetExists(mixed $offset)
Whether a offset exists
in DomElement at line line 226
mixed
offsetGet(mixed $offset)
Offset to retrieve
in DomElement at line line 244
void
offsetSet(mixed $offset, mixed $value)
Offset to set
in DomElement at line line 256
void
offsetUnset(mixed $offset)
Offset to unset
in AbstractInputList at line line 83
AbstractInputList
addOption(Option $option, string $group = null)
addOption
in AbstractInputList at line line 111
SelectList
option(string $text = null, string $value = null, array $attribs = array(), string $group = null)
option
in AbstractInputList at line line 121
void
prepareOptions()
prepareOptions
in AbstractInputList at line line 235
mixed
getChecked()
Method to get property Checked
in AbstractInputList at line line 247
AbstractInputList
setChecked(mixed $checked)
Method to set property checked
in AbstractInputList at line line 259
boolean
getDisabled()
Method to get property Disabled
in AbstractInputList at line line 271
AbstractInputList
setDisabled(boolean $disabled)
Method to set property disabled
in AbstractInputList at line line 283
boolean
getReadonly()
Method to get property Readonly
in AbstractInputList at line line 295
AbstractInputList
setReadonly(boolean $readonly)
Method to set property readonly