Normalizes given localized input

category Zend
package Zend_Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Class constructor

__construct($options = null

Parameters

$options

Defined by Zend_Filter_Interface

filter(string $value) : string | array

Normalizes the given input

inherited_from \Zend_Filter_Interface::filter()

Parameters

$value

string

Value to normalized

Returns

stringarrayThe normalized value

Returns the set options

getOptions() : array

Returns

array

Sets options to use

setOptions(array $options = null) : \Zend_Filter_LocalizedToNormalized

Parameters

$options

array

(Optional) Options to use

Returns

\Zend_Filter_LocalizedToNormalized

 Properties

 

Set options

$_options : array

Default

array('locale' => null, 'date_format' => null, 'precision' => null)