Skip to content

HTMLPurifier_StringHash

This is in almost every respect equivalent to an array except that it keeps track of which keys were accessed.

  • Full name: \HTMLPurifier_StringHash
  • Parent class: ArrayObject

Properties

accessed

protected $accessed

Methods

offsetGet

Retrieves a value, and logs the access.

public offsetGet(mixed $index): mixed

Parameters:

Parameter Type Description
$index mixed

getAccessed

Returns a lookup array of all array indexes that have been accessed.

public getAccessed(): array

Return Value:

in form array($index => true).


resetAccessed

Resets the access array.

public resetAccessed(): mixed


Automatically generated on 2025-03-18