AbstractInputList
class AbstractInputList extends HtmlElement (View source)
The InputList class.
Methods
Constructor
toString
option
prepareOptions
Method to get property Checked
Method to set property checked
Method to get property Disabled
Method to set property disabled
Method to get property Readonly
Method to set property readonly
Details
at line line 66
__construct(string $name, mixed|null $options = array(), array $attribs = array(), mixed $checked = null)
Constructor
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
at line line 83
AbstractInputList
addOption(Option $option, string $group = null)
addOption
at line line 111
SelectList
option(string $text = null, string $value = null, array $attribs = array(), string $group = null)
option
at line line 121
void
prepareOptions()
prepareOptions
at line line 235
mixed
getChecked()
Method to get property Checked
at line line 247
AbstractInputList
setChecked(mixed $checked)
Method to set property checked
at line line 259
boolean
getDisabled()
Method to get property Disabled
at line line 271
AbstractInputList
setDisabled(boolean $disabled)
Method to set property disabled
at line line 283
boolean
getReadonly()
Method to get property Readonly
at line line 295
AbstractInputList
setReadonly(boolean $readonly)
Method to set property readonly