Method |
Description |
|
addDefaultTemplate ( string $type, string $template ) |
Add a new default template for given type. |
|
addLocalization ( Localization $localization ) |
Adds a localization to the webspace. |
|
addPortal ( Portal $portal ) |
Adds a portal to the webspace. |
|
addSegment ( Segment $segment ) |
Adds a segment to the webspace. |
|
addTemplate ( string $type, string $template ) |
Add a new template for given type. |
|
getAllLocalizations ( ) : Localization[] |
Returns a list of all localizations and sublocalizations. |
|
getDefaultLocalization ( ) : Localization |
Returns the default localization for this webspace. |
|
getDefaultSegment ( ) : Segment |
Returns the default segment for this webspace. |
|
getDefaultTemplate ( string $type ) : string | null |
Returns a error template for given code. |
|
getDefaultTemplates ( ) : string |
Returns a array of default template. |
|
getKey ( ) : string |
Returns the key of the webspace. |
|
getLocalization ( string $localization ) : Localization | null |
Returns the localization object for a given localization string. |
|
getLocalizations ( ) : Localization[] |
Returns the localizations of this webspace. |
|
getName ( ) : string |
Returns the name of the webspace. |
|
getNavigation ( ) : Navigation |
|
|
getPortals ( ) : Portal[] |
Returns the portals of this webspace. |
|
getResourceLocatorStrategy ( ) : string |
Returns resource-locator strategy. |
|
getSecurity ( ) : Security |
Returns the security system. |
|
getSegments ( ) : Segment[] |
Returns the segments of this webspace. |
|
getTemplate ( string $type ) : string | null |
Returns a template for the given type. |
|
getTemplates ( ) : string[] |
Returns an array of templates. |
|
getTheme ( ) : string |
Returns the theme for this portal. |
|
getXDefaultLocalization ( ) : Localization |
Returns the x-default localization for this webspace. |
|
hasDomain ( string $domain, string $environment ) : boolean |
Returns false if domain not exists in webspace. |
|
setDefaultLocalization ( Localization $defaultLocalization ) |
Sets the default localization for this webspace. |
|
setDefaultSegment ( Segment $defaultSegment ) |
Sets the default segment of this webspace. |
|
setKey ( string $key ) |
Sets the key of the webspace. |
|
setLocalizations ( Localization[] $localizations ) |
Returns the localizations of this webspace. |
|
setName ( string $name ) |
Sets the name of the webspace. |
|
setNavigation ( Navigation $navigation ) |
|
|
setPortals ( Portal[] $portals ) |
Sets the portals of this webspace. |
|
setResourceLocatorStrategy ( string $resourceLocatorStrategy ) |
Set resource-locator strategy. |
|
setSecurity ( Security $security ) |
Sets the security system. |
|
setSegments ( Segment[] $segments ) |
Sets the segments of this webspace. |
|
setTheme ( string | null $theme = null ) |
Sets the theme for this portal. |
|
toArray ( $depth = null ) |
|
|