Spec-Zone.ru › Symfony 3.0

IniFileLoader

class IniFileLoader extends FileLoader

IniFileLoader загружает переводы из ini-файла.

Методы

MessageCatalogueload(mixed $resource, string $locale, string $domain = 'messages')

Загружает локаль.

из FileLoader

Подробности

MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages')

Загружает локаль.

Параметры

class="table table-condensed">
mixed$resourceРесурс
string$localeЛокаль
string$domainДомен

Значение результата

class="table table-condensed">
MessageCatalogueЭкземпляр MessageCatalogue

Исключения

class="table table-condensed">
NotFoundResourceExceptionпри невозможности найти ресурс
InvalidResourceExceptionпри невозможности загрузить ресурс

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Translation/Loader/IniFileLoader.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API