XOOPS 2.5.6
Final
|
Public Member Functions | |
addElement (&$formElement, $required=false) | |
getDelimeter ($encode=false) | |
& | getElements ($recurse=false) |
& | getRequired () |
isContainer () | |
isRequired () | |
render () | |
XoopsFormElementTray ($caption, $delimeter=" ", $name="") | |
Public Member Functions inherited from XoopsFormElement | |
getAccessKey () | |
getAccessString ($str) | |
getCaption ($encode=false) | |
getClass () | |
getDescription ($encode=false) | |
getExtra ($encode=false) | |
getFormType () | |
getName ($encode=true) | |
getNocolspan () | |
getTitle ($encode=true) | |
isContainer () | |
isHidden () | |
isRequired () | |
render () | |
renderValidationJS () | |
setAccessKey ($key) | |
setCaption ($caption) | |
setClass ($class) | |
setDescription ($description) | |
setExtra ($extra, $replace=false) | |
setFormType ($value= '') | |
setHidden () | |
setName ($name) | |
setNocolspan ($nocolspan=true) | |
XoopsFormElement () | |
Public Attributes | |
$_delimeter | |
$_elements = array() | |
$_required = array() | |
Public Attributes inherited from XoopsFormElement | |
$_accesskey = '' | |
$_caption | |
$_class = array() | |
$_description = '' | |
$_extra = array() | |
$_formtype = '' | |
$_hidden = false | |
$_name | |
$_nocolspan = false | |
$_required = false | |
$customValidationCode = array() | |
A group of form elements
Definition at line 26 of file formelementtray.php.
XoopsFormElementTray::addElement | ( | & | $formElement, |
$required = false |
|||
) |
Add an element to the group
object | $ &$element XoopsFormElement to add |
Definition at line 85 of file formelementtray.php.
References $i.
XoopsFormElementTray::getDelimeter | ( | $encode = false | ) |
Get the delimiter of this group
bool | $encode | To sanitizer the text? |
Definition at line 144 of file formelementtray.php.
& XoopsFormElementTray::getElements | ( | $recurse = false | ) |
Get an array of the elements in this group
bool | $recurse | get elements recursively? |
Definition at line 116 of file formelementtray.php.
& XoopsFormElementTray::getRequired | ( | ) |
get an array of "required" form elements
Definition at line 106 of file formelementtray.php.
XoopsFormElementTray::isContainer | ( | ) |
Is this element a container of other elements?
Definition at line 67 of file formelementtray.php.
XoopsFormElementTray::isRequired | ( | ) |
Find out if there are required elements.
Definition at line 76 of file formelementtray.php.
XoopsFormElementTray::render | ( | ) |
prepare HTML to output this group
Definition at line 153 of file formelementtray.php.
References $ret.
XoopsFormElementTray::XoopsFormElementTray | ( | $caption, | |
$delimeter = " " , |
|||
$name = "" |
|||
) |
constructor
string | $caption | Caption for the group. |
string | $delimiter | HTML to separate the elements |
Definition at line 56 of file formelementtray.php.
XoopsFormElementTray::$_delimeter |
Definition at line 48 of file formelementtray.php.
XoopsFormElementTray::$_elements = array() |
Definition at line 33 of file formelementtray.php.
XoopsFormElementTray::$_required = array() |
Definition at line 40 of file formelementtray.php.