XOOPS
2.6.0
|
Protected Attributes | |
$delimiter | |
$elements = array() | |
$required = array() | |
Protected Attributes inherited from Xoops\Form\Element | |
$value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
$attributes = array() | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Form\Element | |
$customValidationCode = array() | |
Definition at line 25 of file ElementTray.php.
Xoops\Form\ElementTray::__construct | ( | $caption, | |
$delimiter = " " , |
|||
$name = "" |
|||
) |
__construct
string | $caption | caption |
string | $delimiter | delimiter |
string | $name | name |
Definition at line 55 of file ElementTray.php.
References Xoops\Form\Element\$caption, Xoops\Form\ElementTray\$delimiter, $name, Xoops\Form\Element\setCaption(), and Xoops\Form\Element\setName().
Add an element to the group
Definition at line 80 of file ElementTray.php.
References $count, $i, Xoops\Form\ElementTray\$required, and Xoops\Form\Element\setRequired().
Referenced by Xoops\Form\DateTime\__construct(), Xoops\Form\SelectUser\__construct(), and Xoops\Form\SelectEditor\render().
Xoops\Form\ElementTray::getDelimiter | ( | $encode = false | ) |
Get the delimiter of this group
boolean | $encode | True to encode special characters |
Definition at line 146 of file ElementTray.php.
References Xoops\Form\ElementTray\$delimiter.
Referenced by Xoops\Form\TabTray\render(), and Xoops\Form\ElementTray\render().
Xoops\Form\ElementTray::getElements | ( | $recursively = false | ) |
Get an array of the elements in this group
bool | $recursively | get elements recursively? |
Implements Xoops\Form\ContainerInterface.
Definition at line 115 of file ElementTray.php.
References Xoops\Form\ElementTray\$elements.
Referenced by Xoops\Form\Tab\render(), Xoops\Form\TabTray\render(), and Xoops\Form\ElementTray\render().
Xoops\Form\ElementTray::getRequired | ( | ) |
get an array of "required" form elements
Implements Xoops\Form\ContainerInterface.
Definition at line 103 of file ElementTray.php.
References Xoops\Form\ElementTray\$required.
Xoops\Form\ElementTray::isRequired | ( | ) |
Xoops\Form\ElementTray::render | ( | ) |
prepare HTML to output this group
Definition at line 156 of file ElementTray.php.
References $count, Xoops\Form\ElementTray\getDelimiter(), and Xoops\Form\ElementTray\getElements().
|
protected |
Definition at line 46 of file ElementTray.php.
Referenced by Xoops\Form\TabTray\__construct(), Xoops\Form\ElementTray\__construct(), and Xoops\Form\ElementTray\getDelimiter().
|
protected |
Definition at line 32 of file ElementTray.php.
Referenced by Xoops\Form\ElementTray\getElements().
|
protected |
Definition at line 39 of file ElementTray.php.
Referenced by Xoops\Form\ElementTray\addElement(), Xoops\Form\ElementTray\getRequired(), and Xoops\Form\Tab\render().