Method | Description | |
---|---|---|
__construct ( Symfony\Component\Config\Loader\LoaderInterface $loader, Sulu\Component\Webspace\Url\ReplacerInterface $urlReplacer, $options = [] ) | ||
findPortalByKey ( string $key ) : |
Returns the portal with the given key. | |
findPortalInformationByUrl ( $url, $environment ) | ||
findPortalInformationsByPortalKeyAndLocale ( $portalKey, $locale, $environment ) | ||
findPortalInformationsByUrl ( $url, $environment ) | ||
findPortalInformationsByWebspaceKeyAndLocale ( $webspaceKey, $locale, $environment ) | ||
findUrlByResourceLocator ( $resourceLocator, $environment, $languageCode, $webspaceKey = null, $domain = null, $scheme = 'http' ) | ||
findUrlsByResourceLocator ( $resourceLocator, $environment, $languageCode, $webspaceKey = null, $domain = null, $scheme = 'http' ) | ||
findWebspaceByKey ( $key ) : |
Returns the webspace with the given key. | |
getAllLocalesByWebspaces ( ) | ||
getAllLocalizations ( ) | ||
getPortalInformations ( $environment ) | ||
getPortalInformationsByWebspaceKey ( $environment, $webspaceKey ) | ||
getPortals ( ) | ||
getUrls ( $environment ) | ||
getWebspaceCollection ( ) : |
Returns all the webspaces managed by this specific instance. | |
setOptions ( $options ) | Sets the options for the manager. |
Method | Description | |
---|---|---|
isFromDomain ( $url, $domain ) : array | Url is from domain. | |
matchUrl ( string $url, string $portalUrl ) : boolean | Matches given url with portal-url. |
public __construct ( Symfony\Component\Config\Loader\LoaderInterface $loader, Sulu\Component\Webspace\Url\ReplacerInterface $urlReplacer, $options = [] ) | ||
$loader | Symfony\Component\Config\Loader\LoaderInterface | |
$urlReplacer | Sulu\Component\Webspace\Url\ReplacerInterface |
public findPortalByKey ( string $key ) : |
||
$key | string | The key to search for |
return |
public findPortalInformationsByPortalKeyAndLocale ( $portalKey, $locale, $environment ) |
public findPortalInformationsByUrl ( $url, $environment ) |
public findPortalInformationsByWebspaceKeyAndLocale ( $webspaceKey, $locale, $environment ) |
public findUrlByResourceLocator ( $resourceLocator, $environment, $languageCode, $webspaceKey = null, $domain = null, $scheme = 'http' ) |
public findUrlsByResourceLocator ( $resourceLocator, $environment, $languageCode, $webspaceKey = null, $domain = null, $scheme = 'http' ) |
public findWebspaceByKey ( $key ) : |
||
$key | string The key to search for | |
return |
public getPortalInformationsByWebspaceKey ( $environment, $webspaceKey ) |
public getWebspaceCollection ( ) : |
||
return |
protected isFromDomain ( $url, $domain ) : array | ||
$url | ||
$domain | ||
return | array |
public setOptions ( $options ) | ||
$options |