Class HTMLPurifier_StringHash
Inheritance | HTMLPurifier_StringHash » ArrayObject |
---|
This is in almost every respect equivalent to an array except that it keeps track of which keys were accessed.
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$accessed | HTMLPurifier_StringHash |
Public Methods
Method | Description | Defined By |
---|---|---|
getAccessed() | Returns a lookup array of all array indexes that have been accessed. | HTMLPurifier_StringHash |
offsetGet() | Retrieves a value, and logs the access. | HTMLPurifier_StringHash |
resetAccessed() | Resets the access array. | HTMLPurifier_StringHash |
Property Details
Method Details
Returns a lookup array of all array indexes that have been accessed.
public array getAccessed ( ) | ||
return | array | In form array($index => true). |
---|
Retrieves a value, and logs the access.
public mixed offsetGet ( $index ) | ||
$index | mixed |
Resets the access array.
public void resetAccessed ( ) |