*
* @package CRM
* @copyright U.S. PIRG Education Fund 2007
- * $Id$
*
*/
* Class CRM_Core_QuickForm_NestedAdvMultiSelect
*/
class CRM_Core_QuickForm_NestedAdvMultiSelect extends HTML_QuickForm_advmultiselect {
+
/**
* Loads options from different types of data sources.
*
) {
switch (TRUE) {
case ($options instanceof Iterator):
- $arr = array();
+ $arr = [];
foreach ($options as $key => $val) {
$arr[$key] = $val;
}