load()
setUseIncludePath()
useIncludePath()
readInteger()
readIntegerList()
resolveFile()
resolveViaIncludePath()
$file
$littleEndian
$useIncludePath
Gettext loader.
load(string $locale, string $filename) : \Zend\I18n\Translator\TextDomain
| 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\selfuseIncludePath() : bool
| inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::useIncludePath() |
|---|
boolreadInteger() : int
intreadIntegerList(int $num) : int
int
intresolveFile(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
stringfalse
resolveViaIncludePath(string $filename) : string | false
| inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::resolveViaIncludePath() |
|---|
string
stringfalse
$file : resource
$littleEndian : bool
$useIncludePath : bool
| inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::$$useIncludePath |
|---|