/** * (non-PHPdoc) * @see lib/form/data/collection/phSimpleArrayDataCollection::needsSimpleArrayType() */ public function needsSimpleArrayType(phArrayKeyInfo $info, phFormViewElement $element) { /* * if the select list is a multi select and the key is an auto key then * we'll need the simple array type */ return $element instanceof phSelectListElement && $element->isMultiple() && $info->isAutoKey(); }