Methods
__construct()
__construct(array | \Traversable | string | null $localeOrOptions, int $style, int $type)
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::__construct() |
Parameters
$localeOrOptions
array\Traversablestringnull
$style
int
$type
int
Exceptions
Invoke filter as a command
__invoke(mixed $value) : mixed
Inherited
Proxies to filter()
inherited_from |
\Zend\Filter\AbstractFilter::__invoke() |
inherited_from |
\Zend\I18n\Filter\AbstractLocale::__invoke() |
inherited_from |
\Zend\I18n\Filter\NumberParse::__invoke() |
Parameters
$value
mixed
Exceptions
Returns
mixed
Defined by Zend\Filter\FilterInterface
filter(mixed $value) : mixed
see |
\Zend\Filter\FilterInterface::filter() |
Parameters
$value
mixed
Exceptions
Returns
mixed
Returns the locale option
getLocale() : string
Inherited
inherited_from |
\Zend\I18n\Filter\AbstractLocale::getLocale() |
inherited_from |
\Zend\I18n\Filter\NumberParse::getLocale() |
Returns
string
Retrieve options representing object state
getOptions() : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::getOptions() |
inherited_from |
\Zend\I18n\Filter\AbstractLocale::getOptions() |
inherited_from |
\Zend\I18n\Filter\NumberParse::getOptions() |
Returns
array
getStyle()
getStyle() : int
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::getStyle() |
Returns
int
getType()
getType() : int
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::getType() |
Returns
int
hasPcreUnicodeSupport()
hasPcreUnicodeSupport() : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
inherited_from |
\Zend\I18n\Filter\AbstractLocale::hasPcreUnicodeSupport() |
inherited_from |
\Zend\I18n\Filter\NumberParse::hasPcreUnicodeSupport() |
Returns
bool
Sets the locale option
setLocale(string | null $locale) : \Zend\I18n\Filter\NumberFormat
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::setLocale() |
Parameters
$locale
stringnull
Returns
setOptions()
setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::setOptions() |
inherited_from |
\Zend\I18n\Filter\AbstractLocale::setOptions() |
inherited_from |
\Zend\I18n\Filter\NumberParse::setOptions() |
Parameters
$options
array\Traversable
Exceptions
Returns
\Zend\Filter\self
setStyle()
setStyle(int $style) : \Zend\I18n\Filter\NumberFormat
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::setStyle() |
Parameters
$style
int
Returns
setType()
setType(int $type) : \Zend\I18n\Filter\NumberFormat
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::setType() |
Parameters
$type
int
Returns
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
inherited_from |
\Zend\I18n\Filter\AbstractLocale::isOptions() |
inherited_from |
\Zend\I18n\Filter\NumberParse::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
Filter options
$options : array
Inherited
inherited_from |
\Zend\I18n\Filter\NumberParse::$$options |