Table of Contents
Properties
-
$attributes
: array<string, int|string>
-
$defaultSaveValue
: string|int|null
-
$fieldName
: string
-
$footer
: string
-
$header
: string
-
$label
: string
-
$labelOnTop
: bool
-
$notice
: string
-
$prefix
: string
-
$separateEnding
: bool
-
$suffix
: string
-
$table
: rex_form_base|null
-
$tag
: string
-
$validator
: rex_validator
-
$value
: string|int|null
Methods
-
__construct()
: mixed
-
addField()
: rex_form_element
-
addGroupedField()
: rex_form_element
-
disableSpellcheckAndAutoCorrect()
: void
-
formatElement()
: string
-
get()
: string
-
getAttribute()
: int|string|T
-
getAttributes()
: array<string, int|string>
-
getFieldName()
: string
-
getFields()
: array<string, array<int, rex_form_element>>
-
getFooter()
: string
-
getHeader()
: string
-
getLabel()
: string
-
getNotice()
: string
-
getPrefix()
: string
-
getSaveValue()
: string
-
getSuffix()
: string
-
getTag()
: string
-
getValidator()
: rex_validator
-
getValue()
: string|int|null
-
hasAttribute()
: bool
-
hasSeparateEnding()
: bool
-
isLabelOnTop()
: bool
-
isReadOnly()
: bool
-
setActive()
: void
-
setAttribute()
: void
-
setAttributes()
: void
-
setDefaultSaveValue()
: void
-
setFieldName()
: void
-
setFooter()
: void
-
setHeader()
: void
-
setLabel()
: void
-
setLabelOnTop()
: void
-
setMultiple()
: void
-
setNotice()
: void
-
setPrefix()
: void
-
setSuffix()
: void
-
setValue()
: void
-
show()
: void
-
_get()
: string
-
formatClass()
: string
-
formatLabel()
: string
-
formatNotice()
: string
-
getFragment()
: string
-
prepareInnerFields()
: void
-
wrapContent()
: string
$attributes
protected
array<string, int|string>
$attributes
$defaultSaveValue
protected
string|int|null
$defaultSaveValue
= ''
$fieldName
protected
string
$fieldName
= ''
protected
string
$footer
protected
string
$header
$label
protected
string
$label
= ''
$labelOnTop
protected
bool
$labelOnTop
$notice
protected
string
$notice
$prefix
protected
string
$prefix
$separateEnding
protected
bool
$separateEnding
$suffix
protected
string
$suffix
$table
protected
rex_form_base|null
$table
$tag
protected
string
$tag
$validator
protected
rex_validator
$validator
$value
protected
string|int|null
$value
__construct()
public
__construct([string $tag = '' ][, rex_form_base|null $form = null ][, array<string, int|string> $attributes = [] ]) : mixed
Parameters
-
$tag
: string
= ''
-
-
$form
: rex_form_base|null
= null
-
-
$attributes
: array<string, int|string>
= []
-
addField()
public
addField(string $type, string $name[, mixed $value = null ][, array<string|int, mixed> $attributes = [] ]) : rex_form_element
Parameters
-
$type
: string
-
-
$name
: string
-
-
$value
: mixed
= null
-
-
$attributes
: array<string|int, mixed>
= []
-
addGroupedField()
public
addGroupedField(string $group, string $type, string $name[, mixed $value = null ][, array<string|int, mixed> $attributes = [] ]) : rex_form_element
Parameters
-
$group
: string
-
-
$type
: string
-
-
$name
: string
-
-
$value
: mixed
= null
-
-
$attributes
: array<string|int, mixed>
= []
-
disableSpellcheckAndAutoCorrect()
public
disableSpellcheckAndAutoCorrect() : void
public
formatElement() : string
get()
public
get() : string
getAttribute()
public
getAttribute(string $name[, T $default = null ]) : int|string|T
Parameters
-
$name
: string
-
-
$default
: T
= null
-
-
template
-
Return values
int|string|T
getAttributes()
public
getAttributes() : array<string, int|string>
Return values
array<string, int|string>
getFieldName()
public
getFieldName() : string
getFields()
public
getFields() : array<string, array<int, rex_form_element>>
public
getFooter() : string
public
getHeader() : string
getLabel()
public
getLabel() : string
getNotice()
public
getNotice() : string
getPrefix()
public
getPrefix() : string
getSaveValue()
public
getSaveValue() : string
getSuffix()
public
getSuffix() : string
getTag()
public
getTag() : string
getValidator()
public
getValidator() : rex_validator
getValue()
public
getValue() : string|int|null
Return values
string|int|null
hasAttribute()
public
hasAttribute(string $name) : bool
Parameters
-
$name
: string
-
hasSeparateEnding()
public
hasSeparateEnding() : bool
isLabelOnTop()
public
isLabelOnTop() : bool
isReadOnly()
public
isReadOnly() : bool
setActive()
public
setActive(string $group) : void
Parameters
-
$group
: string
-
setAttribute()
public
setAttribute(string $name, int|string $value) : void
Parameters
-
$name
: string
-
-
$value
: int|string
-
setAttributes()
public
setAttributes(array<string, int|string> $attributes) : void
Parameters
-
$attributes
: array<string, int|string>
-
setDefaultSaveValue()
public
setDefaultSaveValue(string|int|null $value) : void
Parameters
-
$value
: string|int|null
-
setFieldName()
public
setFieldName(string $name) : void
Parameters
-
$name
: string
-
public
setFooter(string $footer) : void
Parameters
-
$footer
: string
-
public
setHeader(string $header) : void
Parameters
-
$header
: string
-
setLabel()
public
setLabel(string $label) : void
Parameters
-
$label
: string
-
setLabelOnTop()
public
setLabelOnTop([bool $onTop = true ]) : void
Parameters
-
$onTop
: bool
= true
-
setMultiple()
public
setMultiple([bool $multiple = true ]) : void
Parameters
-
$multiple
: bool
= true
-
setNotice()
public
setNotice(string $notice) : void
Parameters
-
$notice
: string
-
setPrefix()
public
setPrefix(string $prefix) : void
Parameters
-
$prefix
: string
-
setSuffix()
public
setSuffix(string $suffix) : void
Parameters
-
$suffix
: string
-
setValue()
public
setValue(mixed $value) : void
Parameters
-
$value
: mixed
-
show()
public
show() : void
_get()
protected
_get() : string
protected
formatClass() : string
protected
formatLabel() : string
protected
formatNotice() : string
getFragment()
protected
getFragment() : string
prepareInnerFields()
protected
prepareInnerFields() : void
wrapContent()
protected
wrapContent(string $content) : string
Parameters
-
$content
: string
-