2010年2月17日星期三

[fw-mvc] Re: Zend_Validate error after upgrading to Zend Framework 1.10.1

Yeah that's basically your only option unless you specify the namespace
explicitly.
ie:
Zend_Validate::is('1', 'Zend_Validate_Int');

Basically, if you're using Zend_Validate::is() the way it's meant to be
used, you're going to have to suppress warnings in Zend_Loader_Autoloader.
Zend_Filter::filterStatic() method still works the way Zend_Validate worked
prior to 1.10, so you won't have any problems there unless you're not using
the default namespace.

Cheers,
David


--
View this message in context: http://n4.nabble.com/Zend-Validate-error-after-upgrading-to-Zend-Framework-1-10-1-tp1476673p1558538.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: