nasıl Zend Framework kullanarak harfleri ve whitespaces doğrulamak için?
Zend Framework var a Zend_Validate_Alpha (hem de bir alphanumeric version).
Normally it doesn't allow white space, but if you pass a true
into the constructor of the
Zend_Validate_Alpha class it will allow whitespace. Same with Zend_Validate_Alnum.
Örneğin:
$validator = new Zend_Validate_Alpha(true); //will allow whitespace and non number letters