CodeExplorer getRecursive example
public function isValid($value) { $this->
_setValue($value);
if ($this->
getRecursive()) { $iterator =
new RecursiveIteratorIterator(new RecursiveArrayIterator($this->_haystack
));
foreach($iterator as $element) { if ($this->_strict
) { if ($element ===
$value) { return true;
} } else if ($element ==
$value) { return true;
} } } else {