PHP Interface eZ\Publish\Core\MVC\Symfony\SiteAccess\URILexer

This is useful when you have the siteaccess in the URI like "//my/awesome/uri".
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
analyseLink ( string $linkUri ) : string Analyses $linkUri when generating a link to a route, in order to have the siteaccess part back in the URI.
analyseURI ( string $uri ) : string Analyses $uri and removes the siteaccess part, if needed.

Method Details

analyseURI() public method

Analyses $uri and removes the siteaccess part, if needed.
public analyseURI ( string $uri ) : string
$uri string The original URI
return string The modified URI