Issues

ZF-2952: Let Zend_Validate_inArray() check for keys as well

Issue Type: Improvement Created: 2008-03-24T04:49:42.000+0000 Last Updated: 2008-12-17T12:56:41.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Dolf Schimmel (Freeaqingme) (freak) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Validate

Related issues: Attachments:

Description

I think Zend_Validate_inArray should have an option to check for keys of an array istead of values only. It could be done pretty simple.

Comments

Posted by Darby Felton (darby) on 2008-04-02T16:17:49.000+0000

This is also easily done from userland; for example:

<pre class="highlight">
$objZendValidateInArray->setHaystack(array_keys($aryKeysAreHaystack));

Posted by Wil Sinclair (wil) on 2008-12-17T12:56:41.000+0000

Bookkeeping. Assigning all resolved issues to the people who resolved them. The only unassigned issues should be those that are new and unreviewed.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts