load()
setUseIncludePath()
useIncludePath()
resolveFile()
resolveViaIncludePath()
$useIncludePath
PHP INI format loader.
load(string $locale, string $filename) : \Zend\I18n\Translator\TextDomain | null
see | \Zend\I18n\Translator\Loader\FileLoaderInterface::load() |
---|
string
string
\Zend\I18n\Exception\InvalidArgumentException |
---|
setUseIncludePath(bool $flag) : \Zend\I18n\Translator\Loader\self
inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::setUseIncludePath() |
---|
bool
\Zend\I18n\Translator\Loader\self
useIncludePath() : bool
inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::useIncludePath() |
---|
bool
resolveFile(string $filename) : string | false
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() |
---|
string
string
false
resolveViaIncludePath(string $filename) : string | false
inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::resolveViaIncludePath() |
---|
string
string
false
$useIncludePath : bool
inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::$$useIncludePath |
---|