Filter/LocalizedToNormalized.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Filter  
Version
$Id: LocalizedToNormalized.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Filter_LocalizedToNormalized

Package: Zend\Filter
Normalizes given localized input
Implements
\Zend_Filter_Interface
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_options = array('locale' => null, 'date_format' => null, 'precision' => null)
Set options
Default valuearray('locale' => null, 'date_format' => null, 'precision' => null)Details
Type
array

Methods

methodpublic__construct( $options = null) : void

Class constructor

Parameters
NameTypeDescription
$options
methodpublicfilter(string $value) : string | array

Defined by Zend_Filter_Interface

Normalizes the given input

Parameters
NameTypeDescription
$valuestring

Value to normalized

Returns
TypeDescription
string | arrayThe normalized value
Throws
ExceptionDescription
\Zend_Filter_ExceptionIf filtering $value is impossible
methodpublicgetOptions() : array

Returns the set options

Returns
TypeDescription
array
methodpublicsetOptions(array $options = null) : \Zend_Filter_LocalizedToNormalized

Sets options to use

Parameters
NameTypeDescription
$optionsarray

(Optional) Options to use

Returns
TypeDescription
\Zend_Filter_LocalizedToNormalized
Documentation was generated by phpDocumentor 2.0.0a12.