25 #require_once 'Zend/Validate/Abstract.php'; 30 #require_once 'Zend/Locale/Format.php'; 47 self::INVALID =>
"Invalid type given. String, integer or float expected",
48 self::NOT_FLOAT =>
"'%value%' does not appear to be a float",
61 $locale = $locale->toArray();
64 if (is_array($locale)) {
65 if (array_key_exists(
'locale', $locale)) {
66 $locale = $locale[
'locale'];
73 #require_once 'Zend/Registry.php'; 98 #require_once 'Zend/Locale.php'; 114 $this->
_error(self::INVALID);
125 $this->
_error(self::NOT_FLOAT);
129 $this->
_error(self::NOT_FLOAT);
__construct($locale=null)
_error($messageKey, $value=null)
static isRegistered($index)
static findLocale($locale=null)