Method | Description | |
---|---|---|
findPortalByKey ( string $key ) : |
Returns the portal with the given key. | |
findPortalInformationByUrl ( string $url, string $environment ) : |
Returns the portal with the given url (which has not necessarily to be the main url). | |
findPortalInformationsByPortalKeyAndLocale ( string $portalKey, string $locale, string $environment ) : |
Returns all portal which matches the given portal-key and locale. | |
findPortalInformationsByUrl ( string $url, string $environment ) : |
Returns all portal which matches the given url (which has not necessarily to be the main url). | |
findPortalInformationsByWebspaceKeyAndLocale ( string $webspaceKey, string $locale, string $environment ) : |
Returns all portal which matches the given webspace-key and locale. | |
findUrlByResourceLocator ( string $resourceLocator, string $environment, string $languageCode, null | string $webspaceKey = null, null | string $domain = null, string $scheme = 'http' ) : string | Returns the main url for resourcelocator. | |
findUrlsByResourceLocator ( string $resourceLocator, string $environment, string $languageCode, null | string $webspaceKey = null, null | string $domain = null, string $scheme = 'http' ) : array | Returns all possible urls for resourcelocator. | |
findWebspaceByKey ( $key ) : |
Returns the webspace with the given key. | |
getAllLocalesByWebspaces ( ) : array | For all available webspaces provide all their possible locales. Moreover for each website the default locale is provided. The default locales of the webspaces are always on the first position. | |
getPortalInformations ( string $environment ) : |
Returns the portal informations managed by this WebspaceManger. | |
getPortalInformationsByWebspaceKey ( string $environment, $webspaceKey ) : |
Returns the portal informations for the given webspace managed by this WebspaceManager. | |
getPortals ( ) : |
Returns all portals managed by this webspace manager. | |
getUrls ( string $environment ) : string[] | Returns all URLs in the given environment managed by this WebspaceManager. | |
getWebspaceCollection ( ) : |
Returns all the webspaces managed by this specific instance. |
public findPortalByKey ( string $key ) : |
||
$key | string | The key to search for |
return |
public findPortalInformationsByPortalKeyAndLocale ( string $portalKey, string $locale, string $environment ) : |
||
$portalKey | string | The portal-key which the portal should match |
$locale | string | The locale which the portal should match |
$environment | string | The environment in which the url should be searched |
return |
public findPortalInformationsByUrl ( string $url, string $environment ) : |
||
$url | string | The url to search for |
$environment | string | The environment in which the url should be searched |
return |
public findPortalInformationsByWebspaceKeyAndLocale ( string $webspaceKey, string $locale, string $environment ) : |
||
$webspaceKey | string | The webspace-key which the portal should match |
$locale | string | The locale which the portal should match |
$environment | string | The environment in which the url should be searched |
return |
public findUrlByResourceLocator ( string $resourceLocator, string $environment, string $languageCode, null | string $webspaceKey = null, null | string $domain = null, string $scheme = 'http' ) : string | ||
$resourceLocator | string | |
$environment | string | |
$languageCode | string | |
$webspaceKey | null | string | |
$domain | null | string | |
$scheme | string | |
return | string |
public findUrlsByResourceLocator ( string $resourceLocator, string $environment, string $languageCode, null | string $webspaceKey = null, null | string $domain = null, string $scheme = 'http' ) : array | ||
$resourceLocator | string | |
$environment | string | |
$languageCode | string | |
$webspaceKey | null | string | |
$domain | null | string | |
$scheme | string | |
return | array |
public findWebspaceByKey ( $key ) : |
||
$key | string The key to search for | |
return |
public getAllLocalesByWebspaces ( ) : array | ||
return | array |
public getPortalInformations ( string $environment ) : |
||
$environment | string | |
return |
public getPortalInformationsByWebspaceKey ( string $environment, $webspaceKey ) : |
||
$environment | string | |
return |
public getPortals ( ) : |
||
return |
public getWebspaceCollection ( ) : |
||
return |