public static function render($navigationFile, $requestedUri = false, $options = null)
    {
        $instance = new Navigation($navigationFile, $requestedUri);
        if ($options) {
            if (isset($options['breadcrumb'])) {
                $temp = $instance->filterBreadcrumb();
                if ($temp) {
                    return $instance->dom->saveXML($temp);
                }
            }
            if (isset($options['range']) && $temp = $instance->filterRange($options['range'])) {
                return $instance->dom->saveXML($temp);
            }
        } else {
            return $instance->dom->saveXML($instance->dom->documentElement);
        }
    }
public static function render($navigationFile, $requestedUri = false, $options = null)
    {
        $instance = new Navigation($navigationFile, $requestedUri);
        if ($options) {
            if (isset($options['breadcrumb'])) {
                $temp = $instance->filterBreadcrumb();
                if ($temp) {
                    return $instance->dom->saveXML($temp);
                }
            }
            if (isset($options['range']) && $temp = $instance->filterRange($options['range'])) {
                return $instance->dom->saveXML($temp);
            }
        } else {
            return $instance->dom->saveXML($instance->dom->documentElement);
        }
    }
public static function render ( $ navigationFile , $ requestedUri = false , $ options = null ) { $ instance = new Navigation ( $ navigationFile , $ requestedUri ) ; if ( $ options ) { if ( isset ( $ options [ 'breadcrumb' ] ) ) { $ temp = $ instance -> filterBreadcrumb ( ) ; if ( $ temp ) { return $ instance -> dom -> saveXML ( $ temp ) ; } } if ( isset ( $ options [ 'range' ] ) && $ temp = $ instance -> filterRange ( $ options [ 'range' ] ) ) { return $ instance -> dom -> saveXML ( $ temp ) ; } } else { return $ instance -> dom -> saveXML ( $ instance -> dom -> documentElement ) ; } }
Static helper function to render Navigation.

@param string $navigationSource XML/HTML source, unordered list
@param string $requestedUri     requested URI
@param string $options          Navigation options

@return string
Static helper function to render Navigation .