Class Element
Element - Abstract base class for form elements
- ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
- Xoops\Html\Attributes implements Xoops\Core\AttributeInterface
- Xoops\Form\Element
Direct known subclasses
Xoops\Form\Button, Xoops\Form\ButtonTray, Xoops\Form\Raw, Xoops\Form\Text, Xoops\Form\TextArea, XoopsFormElement, Xoops\Form\Captcha, Xoops\Form\ElementTray, Xoops\Form\File, Xoops\Form\GroupFormCheckbox, Xoops\Form\Hidden, Xoops\Form\Label, Xoops\Form\OptionElement, Xoops\Form\PasswordIndirect known subclasses
AwesomeButton, FormDhtmlTextArea, Xoops\Form\GroupCheckbox, Xoops\Form\Mail, Xoops\Form\Radio, Xoops\Form\RadioYesNo, Xoops\Form\Select, Xoops\Form\SelectCountry, Xoops\Form\SelectEditor, Xoops\Form\SelectGroup, Xoops\Form\SelectLanguage, Xoops\Form\SelectLocale, FormTextArea, Xoops\Form\SelectMatchOption, Xoops\Form\SelectTheme, Xoops\Form\SelectTimeZone, Xoops\Form\SelectUser, Xoops\Form\Tab, Xoops\Form\TabTray, Xoops\Form\Token, Xoops\Form\Url, XoopsEditor, XoopsFormButton, PublisherFormDateTime, XoopsFormButtonTray, XoopsFormCaptcha, XoopsFormCheckBox, XoopsFormColorPicker, XoopsFormDateTime, XoopsFormDhtmlTextArea, XoopsFormEditor, XoopsFormElementTray, XoopsFormFile, XoopsFormHidden, Xoops\Form\Checkbox, XoopsFormHiddenToken, XoopsFormLabel, XoopsFormPassword, XoopsFormRadio, XoopsFormRadioYN, XoopsFormSelect, XoopsFormSelectCheckGroup, XoopsFormSelectCountry, XoopsFormSelectEditor, XoopsFormSelectGroup, Xoops\Form\ColorPicker, XoopsFormSelectLang, XoopsFormSelectMatchOption, XoopsFormSelectTheme, XoopsFormSelectTimezone, XoopsFormSelectUser, XoopsFormText, XoopsFormTextArea, XoopsFormTextDateSelect, XoopsFormTinymce, XoopsFormTinymce4, Xoops\Form\DateSelect, Xoops\Form\DateTime, Xoops\Form\DhtmlTextArea, Xoops\Form\Editor
Abstract
Namespace: Xoops\Form
Package: Xoops\Form
Category: Xoops\Form\Element
Copyright: 2012-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Link: http://xoops.org
Located at oops_lib/Xoops/Form/Element.php
Namespace: Xoops\Form
Package: Xoops\Form
Category: Xoops\Form\Element
Copyright: 2012-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Link: http://xoops.org
Located at oops_lib/Xoops/Form/Element.php
public
|
|
abstract public
string
|
|
public
string
|
|
public
mixed
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
string
|
#
getAccessString( string $str )
getAccessString - If the access key is found in the specified string, underline it |
public
|
|
public
string
|
|
public
|
#
setPattern( string $pattern, string $patternDescription = '' )
setPattern - set the "pattern" attribute for the element |
public
string
|
|
public
string
|
|
public
|
|
public
string
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
string[]
|
|
public
string
|
|
public
|
#
addCustomValidationCode( string $code, boolean $replace = false )
addCustomValidationCode - Add custom validation javascript |
public
string|false
|
|
public
integer|false
|
|
public
|
|
public
|
#
setWithDefaults( string $name, mixed $value, mixed $default = null, array $enum = null )
Convenience method to assist with setting attributes when using BC Element syntax |
public
|
#
setIfNotEmpty( string $name, mixed $value )
Convenience method to assist with setting attributes when using BC Element syntax |
public
|
add(),
clear(),
doRender(),
get(),
getAll(),
getAllLike(),
getNames(),
has(),
remove(),
set(),
setAll(),
setArrayItem(),
setMerge(),
suppressRender()
|
append(),
asort(),
count(),
exchangeArray(),
getArrayCopy(),
getFlags(),
getIterator(),
getIteratorClass(),
ksort(),
natcasesort(),
natsort(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
serialize(),
setFlags(),
setIteratorClass(),
uasort(),
uksort(),
unserialize()
|
ARRAY_AS_PROPS,
STD_PROP_LIST
|
protected
string[]
|
$suppressList
list of attributes to NOT render |
#
['caption', 'datalist', 'description', 'option']
|
public
array
|
$customValidationCode
Javascript performing additional validation of this element data |
#
array()
|
protected
array
|
$extra
extra attributes to go in the tag |
#
array()
|
$suppressRenderAttributes
|