mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +00:00
66ddc4cc5a
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@293 48356398-32a2-884e-a903-53898d9a118a
26 lines
795 B
PHP
26 lines
795 B
PHP
<?php
|
|
|
|
/**
|
|
* Internal data-structure used in attribute validation to accumulate state.
|
|
*
|
|
* All it is is a data-structure that holds objects that accumulate state, like
|
|
* HTMLPurifier_IDAccumulator.
|
|
*
|
|
* @param Many functions that accept this object have it as a mandatory
|
|
* parameter, even when there is no use for it. Though this is
|
|
* for the same reasons as why HTMLPurifier_Config is a mandatory
|
|
* parameter, it is also because you cannot assign a default value
|
|
* to a parameter passed by reference (passing by reference is essential
|
|
* for context to work in PHP 4).
|
|
*/
|
|
|
|
class HTMLPurifier_AttrContext
|
|
{
|
|
/**
|
|
* Contains an HTMLPurifier_IDAccumulator, which keeps track of used IDs.
|
|
* @public
|
|
*/
|
|
var $id_accumulator;
|
|
}
|
|
|
|
?>
|