Class NumberParse

Summary

Fully Qualified Name: Zend\I18n\Filter\NumberParse
Extends: AbstractLocale

Description

Methods

Name Description Defined By
__construct() NumberParse
__invoke() Invoke filter as a command AbstractFilter
filter() Defined by Zend\Filter\FilterInterface NumberParse
getFormatter() NumberParse
getLocale() Returns the locale option AbstractLocale
getOptions() Retrieve options representing object state AbstractFilter
getStyle() NumberParse
getType() NumberParse
hasPcreUnicodeSupport() AbstractFilter
setFormatter() NumberParse
setLocale() NumberParse
setOptions() AbstractFilter
setStyle() NumberParse
setType() NumberParse

Method Details

__construct()

Parameter Name Type Description
$localeOrOptions array|\Traversable|string|null
$style int
$type int

Returns:

__invoke()

Invoke filter as a command

Proxies to {@link filter()}

Parameter Name Type Description
$value mixed

Returns: mixed

filter()

Defined by Zend\Filter\FilterInterface

Parameter Name Type Description
$value mixed

Returns: mixed

getFormatter()

Returns: \NumberFormatter

getLocale()

Returns the locale option

Returns: string

getOptions()

Retrieve options representing object state

Returns: array

getStyle()

Returns: int

getType()

Returns: int

hasPcreUnicodeSupport()

Returns: bool

setFormatter()

Parameter Name Type Description
$formatter \NumberFormatter

Returns: \NumberFormat

setLocale()

Parameter Name Type Description
$locale string|null

Returns: \NumberFormat

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: self

setStyle()

Parameter Name Type Description
$style int

Returns: \NumberFormat

setType()

Parameter Name Type Description
$type int

Returns: \NumberFormat

Top