var $name = '';
// TODO: refactoring ongoing down from here.
- var $mElements = array();
+ var $mElements = array();
var $mRequest;
function __construct($formName) {
function addInputElement(&$el) {
if ($el && is_object($el)) {
- if (isset($GLOBALS["I18N"])) $el->setLocalization($GLOBALS["I18N"]);
-
+ if (isset($GLOBALS["I18N"])) $el->setLocalization($GLOBALS["I18N"]);
+
$el->setFormName($this->name);
$this->mElements[$el->getName()] = &$el;
}