src/Service/FieldType.php
public function getAll($bOnlySelectable = false)
    {
        $aOut = [];

        foreach ($this->aAvailable as $oType) {
            $sClassName = $oType->slug;
            if (!$bOnlySelectable || $sClassName::IS_SELECTABLE) {
                $aOut[] = $oType;
            }
        }

        return $aOut;
    }
public function getAll($bOnlySelectable = false)
    {
        $aOut = [];

        foreach ($this->aAvailable as $oType) {
            $sClassName = $oType->slug;
            if (!$bOnlySelectable || $sClassName::IS_SELECTABLE) {
                $aOut[] = $oType;
            }
        }

        return $aOut;
    }
public function getAll ( $ bOnlySelectable = false ) { $ aOut = [ ] ; foreach ( $ this -> aAvailable as $ oType ) { $ sClassName = $ oType -> slug ; if ( ! $ bOnlySelectable || $ sClassName :: IS_SELECTABLE ) { $ aOut [ ] = $ oType ; } } return $ aOut ; }
Returns all available Field definitions

@param  boolean $bOnlySelectable Filter out field types which are not selectable by the user

@return array
Returns all available Field definitions