2005. Class

2005.1. Zend\I18n\Validator\Int

2005.1.1. Methods

2005.1.1.1. __construct

__construct()

Constructor for the integer validator

Parameters:array|Traversable

2005.1.1.2. getLocale

getLocale()

Returns the set locale

2005.1.1.3. setLocale

setLocale()

Sets the locale to use

Parameters:string
Return type:Int

2005.1.1.4. isValid

isValid()

Returns true if and only if $value is a valid integer

Parameters:string|integer
Return type:bool
Throws :ExceptionInvalidArgumentException

2005.1.2. Constants

2005.1.2.1. INVALID

2005.1.2.2. NOT_INT

Project Versions

Table Of Contents

Previous topic

2004. Class

Next topic

2006. Class

This Page