src/BaseCollection.php
public static function getForSelect()
    {
        $instance = self::_instance();
        return array_combine(array_keys($instance->_items), Hash::extract($instance->_items, '{s}.displayName'));
    }
public static function getForSelect()
    {
        $instance = self::_instance();
        return array_combine(array_keys($instance->_items), Hash::extract($instance->_items, '{s}.displayName'));
    }
public static function getForSelect ( ) { $ instance = self :: _instance ( ) ; return array_combine ( array_keys ( $ instance -> _items ) , Hash :: extract ( $ instance -> _items , '{s}.displayName' ) ) ; }
Get all collections for a select.

@return array
Get all collections for a select .