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\self
useIncludePath() : bool
inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::useIncludePath() |
---|
bool
readInteger() : int
int
readIntegerList(int $num) : int
int
int
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
$file : resource
$littleEndian : bool
$useIncludePath : bool
inherited_from | \Zend\I18n\Translator\Loader\AbstractFileLoader::$$useIncludePath |
---|