PHP INI format loader.

 Methods

load(): defined by FileLoaderInterface.

load(string $locale, string $filename) : \Zend\I18n\Translator\TextDomain | null

see \Zend\I18n\Translator\Loader\FileLoaderInterface::load()

Parameters

$locale

string

$filename

string

Exceptions

\Zend\I18n\Exception\InvalidArgumentException

Returns

Indicate whether or not to use the include_path to resolve translation files

setUseIncludePath(bool $flag) : \Zend\I18n\Translator\Loader\self
Inherited

inherited_from \Zend\I18n\Translator\Loader\AbstractFileLoader::setUseIncludePath()

Parameters

$flag

bool

Returns

\Zend\I18n\Translator\Loader\self

Are we using the include_path to resolve translation files?

useIncludePath() : bool
Inherited

inherited_from \Zend\I18n\Translator\Loader\AbstractFileLoader::useIncludePath()

Returns

bool

Resolve a translation file

resolveFile(string $filename) : string | false
Inherited

Checks if the file exists and is readable, returning a boolean false if not; if the "useIncludePath" flag is enabled, it will attempt to resolve the file from the include_path if the file does not exist on the current working path.

inherited_from \Zend\I18n\Translator\Loader\AbstractFileLoader::resolveFile()

Parameters

$filename

string

Returns

stringfalse

Resolve a translation file via the include_path

resolveViaIncludePath(string $filename) : string | false
Inherited

inherited_from \Zend\I18n\Translator\Loader\AbstractFileLoader::resolveViaIncludePath()

Parameters

$filename

string

Returns

stringfalse

 Properties

 

Whether or not to consult the include_path when locating files

$useIncludePath : bool
Inherited

inherited_from \Zend\I18n\Translator\Loader\AbstractFileLoader::$$useIncludePath