Method |
Description |
|
addEnvironment ( $environment ) |
Adds an environment to this portal. |
|
addLocalization ( Localization $localization ) |
Adds the given language to the portal. |
|
getDefaultLocalization ( ) : Localization |
|
|
getEnvironment ( string $type ) : Sulu\Component\Webspace\Environment |
Returns the environment with the given type, and throws an exception if the environment does not exist. |
|
getEnvironments ( ) : Sulu\Component\Webspace\Environment[] |
Returns the environment for this portal. |
|
getKey ( ) : string |
|
|
getLocalization ( $locale ) |
|
|
getLocalizations ( ) : Localization[] |
Returns the languages of this portal. |
|
getName ( ) : string |
Returns the name of the portal. |
|
getWebspace ( ) : Webspace |
|
|
getXDefaultLocalization ( ) : Localization |
|
|
setDefaultLocalization ( Localization $defaultLocalization ) |
|
|
setEnvironments ( array $environments ) |
Sets the environments for this portal. |
|
setKey ( string $key ) |
|
|
setLocalizations ( Localization[] $localizations ) |
Sets the localizations to this portal. |
|
setName ( string $name ) |
Sets the name of the portal. |
|
setWebspace ( Webspace $webspace ) |
|
|
setXDefaultLocalization ( Localization $xDefaultLocalization ) |
|
|
toArray ( $depth = null ) |
|
|