123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- class HTMLPurifier_StringHash extends ArrayObject
- {
-
- protected $accessed = array();
-
-
- public function offsetGet($index)
- {
- $this->accessed[$index] = true;
- return parent::offsetGet($index);
- }
-
- public function getAccessed()
- {
- return $this->accessed;
- }
-
- public function resetAccessed()
- {
- $this->accessed = array();
- }
- }
|