public function getResource($idx = 0)
    {
        if (null === $this->results || $idx >= \count($this->results)) {
            return null;
        }

        return $this->results[$idx];
    }
public function getResource($idx = 0)
    {
        if (null === $this->results || $idx >= \count($this->results)) {
            return null;
        }

        return $this->results[$idx];
    }
public function getResource ( $ idx = 0 ) { if ( null === $ this -> results || $ idx >= \ count ( $ this -> results ) ) { return null ; } return $ this -> results [ $ idx ] ; }
Returns a LDAP search resource. If this query resulted in multiple searches, only the first
page will be returned.

@return resource

@internal
Returns a LDAP search resource . If this query resulted in multiple searches only the first page will be returned .