public function getOption($option)
    {
        $retVal = null;
        ldap_get_option($this->resource, $option, $retVal);

        return $retVal;
    }
public function getOption($option)
    {
        $retVal = null;
        ldap_get_option($this->resource, $option, $retVal);

        return $retVal;
    }
public function getOption ( $ option ) { $ retVal = null ; ldap_get_option ( $ this -> resource , $ option , $ retVal ) ; return $ retVal ; }
Get the current value for given option

@param  integer $option The option to be returned
@return mixed
Get the current value for given option