How to modify zend Db_RecordExists validator where clause?
问题 I want to add check for more than one values in where clause. Db_RecordExists just check for one filed. I have read that you can extend zend validate abstract class and you can have your own validator. can I have one little example about this please. Thank you... 回答1: What are you trying to do exactly? To me, you don't even need a custom validator. If you read carefully the source code of Zend_Validate_Db_Abstract you will notice this phpDoc above the constructor: Provides basic configuration