Sulu\Component\Webspace\Webspace::getLocalizations PHP Метод

getLocalizations() публичный Метод

Returns the localizations of this webspace.
public getLocalizations ( ) : Localization[]
Результат Sulu\Component\Localization\Localization[]
    public function getLocalizations()
    {
        return $this->localizations;
    }

Usage Example

Пример #1
0
 /**
  * Validate default webspace localization.
  *
  * @throws Exception\InvalidWebspaceDefaultLocalizationException
  */
 protected function validateWebspaceDefaultLocalization()
 {
     try {
         $this->validateDefaultLocalization($this->webspace->getLocalizations());
     } catch (InvalidDefaultLocalizationException $ex) {
         throw new InvalidWebspaceDefaultLocalizationException($this->webspace);
     }
 }
All Usage Examples Of Sulu\Component\Webspace\Webspace::getLocalizations