application/Espo/Core/Utils/Authentication/LDAP.php
protected function loadFields($type)
    {
        $options = $this->getUtils()->getOptions();

        $typeMap = $type . 'FieldMap';

        $fields = array();
        foreach ($this->$typeMap as $fieldName => $fieldValue) {
            if (isset($options[$fieldValue])) {
                $fields[$fieldName] = $options[$fieldValue];
            }
        }

        return $fields;
    }
protected function loadFields($type)
    {
        $options = $this->getUtils()->getOptions();

        $typeMap = $type . 'FieldMap';

        $fields = array();
        foreach ($this->$typeMap as $fieldName => $fieldValue) {
            if (isset($options[$fieldValue])) {
                $fields[$fieldName] = $options[$fieldValue];
            }
        }

        return $fields;
    }
protected function loadFields ( $ type ) { $ options = $ this -> getUtils ( ) -> getOptions ( ) ; $ typeMap = $ type . 'FieldMap' ; $ fields = array ( ) ; foreach ( $ this -> $ typeMap as $ fieldName => $ fieldValue ) { if ( isset ( $ options [ $ fieldValue ] ) ) { $ fields [ $ fieldName ] = $ options [ $ fieldValue ] ; } } return $ fields ; }
Load fields for a user

@param  string $type

@return array
Load fields for a user