API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_StringHash Class Reference
Inheritance diagram for HTMLPurifier_StringHash:
Collaboration diagram for HTMLPurifier_StringHash:

Public Member Functions

 offsetGet ($index)
 
 getAccessed ()
 
 resetAccessed ()
 

Protected Attributes

 $accessed = array()
 

Detailed Description

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

Warning
For the sake of backwards compatibility with early versions of PHP 5, you must not use the $hash[$key] syntax; if you do our version of offsetGet is never called.

Member Function Documentation

◆ getAccessed()

getAccessed ( )

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

Returns
array in form array($index => true).

◆ offsetGet()

offsetGet (   $index)

Retrieves a value, and logs the access.

Parameters
mixed$index
Returns
mixed

◆ resetAccessed()

resetAccessed ( )

Resets the access array.

Field Documentation

◆ $accessed

$accessed = array()
protected

@type array


The documentation for this class was generated from the following file: