src/LdapTools/Ldif/LdifParser.php
protected function getValueFromUrl($url)
    {
        $type = substr($url, 0, strpos($url, Ldif::KEY_VALUE_SEPARATOR));

        if (!$this->hasUrlLoader($type)) {
            $this->throwException(sprintf('Cannot find a URL loader for type "%s"', $type));
        }

        try {
            return $this->urlLoaders[$type]->load($url);
        } catch (LdifUrlLoaderException $e) {
            $this->throwException($e->getMessage());
        }
    }
protected function getValueFromUrl($url)
    {
        $type = substr($url, 0, strpos($url, Ldif::KEY_VALUE_SEPARATOR));

        if (!$this->hasUrlLoader($type)) {
            $this->throwException(sprintf('Cannot find a URL loader for type "%s"', $type));
        }

        try {
            return $this->urlLoaders[$type]->load($url);
        } catch (LdifUrlLoaderException $e) {
            $this->throwException($e->getMessage());
        }
    }
protected function getValueFromUrl ( $ url ) { $ type = substr ( $ url , 0 , strpos ( $ url , Ldif :: KEY_VALUE_SEPARATOR ) ) ; if ( ! $ this -> hasUrlLoader ( $ type ) ) { $ this -> throwException ( sprintf ( 'Cannot find a URL loader for type "%s"' , $ type ) ) ; } try { return $ this -> urlLoaders [ $ type ] -> load ( $ url ) ; } catch ( LdifUrlLoaderException $ e ) { $ this -> throwException ( $ e -> getMessage ( ) ) ; } }
Get the value of the URL data via a UrlLoader.

@param string $url
@return string
Get the value of the URL data via a UrlLoader .