Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 |
Результат |
public findPortalInformationByUrl ( $url, $environment ) |
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 | |
Результат |
public getPortalInformationsByWebspaceKey ( $environment, $webspaceKey ) |
public getWebspaceCollection ( ) : |
||
Результат |
protected isFromDomain ( $url, $domain ) : array | ||
$url | ||
$domain | ||
Результат | array |
public setOptions ( $options ) | ||
$options |