/** * (non-PHPdoc) * @see lib/form/data/collection/phSimpleDataCollection::register() */ public function register(phFormViewElement $element, phNameInfo $name, phCompositeDataCollection $collection) { if ($element instanceof phSelectListElement && $element->isMultiple()) { $this->_multipleElements[$name->getFullName()] = $element; } parent::register($element, $name, $collection); }
/** * (non-PHPdoc) * @see lib/form/data/collection/phSimpleDataCollection::register() */ public function register(phFormViewElement $element, phNameInfo $name, phCompositeDataCollection $collection) { parent::register($element, $name, $collection); if ($element instanceof phCheckboxElement) { $this->_checkboxValues[$name->getFullName()][] = $element->getRawValue(); } }