4 * Property list iterator. Do not instantiate this class directly.
6 class HTMLPurifier_PropertyListIterator extends FilterIterator
19 * @param Iterator $iterator Array of data to iterate over
20 * @param string $filter Optional prefix to only allow values of
22 public function __construct(Iterator $iterator, $filter = null)
24 parent::__construct($iterator);
25 $this->l = strlen($filter);
26 $this->filter = $filter;
32 public function accept()
34 $key = $this->getInnerIterator()->key();
35 if (strncmp($key, $this->filter, $this->l) !== 0) {