Class HTMLPurifier_StringHash

Description

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

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 6439)

ArrayObject
   |
   --HTMLPurifier_StringHash
Variable Summary
mixed $accessed
Method Summary
Array getAccessed ()
void offsetGet ( $index)
void resetAccessed ()
Variables
mixed $accessed = array() (line 6441)
  • access: protected
Methods
getAccessed (line 6455)

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

  • return: in form array($index => true).
  • access: public
Array getAccessed ()
offsetGet (line 6446)

Retrieves a value, and logs the access.

  • access: public
void offsetGet ( $index)
  • $index

Redefinition of:
ArrayObject::offsetGet ( $index )
resetAccessed (line 6462)

Resets the access array.

  • access: public
void resetAccessed ()

Inherited Methods

Inherited From ArrayObject (Internal Class)

constructor __construct ( $array )
append ( $value )
asort ( )
count ( )
exchangeArray ( $array )
getArrayCopy ( )
getFlags ( )
getIterator ( )
getIteratorClass ( )
ksort ( )
natcasesort ( )
natsort ( )
offsetExists ( $index )
offsetGet ( $index )
offsetSet ( $index, $newval )
offsetUnset ( $index )
serialize ( )
setFlags ( $flags )
setIteratorClass ( $iteratorClass )
uasort ( $cmp_function )
uksort ( $cmp_function )
unserialize ( $serialized )
Class Constants

Inherited Constants

Inherited from ArrayObject (Internal Class)

ARRAY_AS_PROPS = 2
STD_PROP_LIST = 1

Documentation generated on Sun, 06 Mar 2011 00:24:10 -0500 by phpDocumentor 1.4.3