application/Espo/Core/Utils/Authentication/LDAP/Utils.php
public function getOption($name, $returns = null)
    {
        if (!isset($this->options)) {
            $this->getOptions();
        }

        if (isset($this->options[$name])) {
            return $this->options[$name];
        }

        return $returns;
    }
public function getOption($name, $returns = null)
    {
        if (!isset($this->options)) {
            $this->getOptions();
        }

        if (isset($this->options[$name])) {
            return $this->options[$name];
        }

        return $returns;
    }
public function getOption ( $ name , $ returns = null ) { if ( ! isset ( $ this -> options ) ) { $ this -> getOptions ( ) ; } if ( isset ( $ this -> options [ $ name ] ) ) { return $ this -> options [ $ name ] ; } return $ returns ; }
Get an ldap option

@param  string $name
@param  mixed $returns Return value
@return mixed
Get an ldap option