HTMLPurifier 4.4.0
|
00001 <?php 00002 00011 class HTMLPurifier_StringHash extends ArrayObject 00012 { 00013 protected $accessed = array(); 00014 00018 public function offsetGet($index) { 00019 $this->accessed[$index] = true; 00020 return parent::offsetGet($index); 00021 } 00022 00027 public function getAccessed() { 00028 return $this->accessed; 00029 } 00030 00034 public function resetAccessed() { 00035 $this->accessed = array(); 00036 } 00037 } 00038 00039 // vim: et sw=4 sts=4