0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 08:51:53 +00:00

Formatting and documentation fixes.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@730 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2007-02-09 03:19:43 +00:00
parent d5491da77f
commit bd544ad038

View File

@ -9,6 +9,14 @@ class HTMLPurifier_ElementDef
/** /**
* Associative array of attribute name to HTMLPurifier_AttrDef * Associative array of attribute name to HTMLPurifier_AttrDef
* @note Before being processed by HTMLPurifier_AttrCollections
* when modules are finalized during
* HTMLPurifier_HTMLDefinition->setup(), this array may also
* contain an array at index 0 that indicates which attribute
* collections to load into the full array. It may also
* contain string indentifiers in lieu of HTMLPurifier_AttrDef,
* see HTMLPurifier_AttrTypes on how they are expanded during
* HTMLPurifier_HTMLDefinition->setup() processing.
* @public * @public
*/ */
var $attr = array(); var $attr = array();
@ -25,11 +33,7 @@ class HTMLPurifier_ElementDef
*/ */
var $attr_transform_post = array(); var $attr_transform_post = array();
/**
* Lookup table of tags that close this tag.
* @public
*/
var $auto_close = array();
/** /**
* HTMLPurifier_ChildDef of this tag. * HTMLPurifier_ChildDef of this tag.
@ -38,20 +42,33 @@ class HTMLPurifier_ElementDef
var $child; var $child;
/** /**
* Abstract string representation of internal ChildDef rules * Abstract string representation of internal ChildDef rules. See
* HTMLPurifier_ContentSets for how this is parsed and then transformed
* into an HTMLPurifier_ChildDef.
* @public * @public
*/ */
var $content_model; var $content_model;
/** /**
* Value of $child->type, used to determine which ChildDef to use * Value of $child->type, used to determine which ChildDef to use,
* used in combination with $content_model.
* @public * @public
*/ */
var $content_model_type; var $content_model_type;
/**
* Lookup table of tags that close this tag. Used during parsing
* to make sure we don't attempt to nest unclosed tags.
* @public
*/
var $auto_close = array();
/** /**
* Does the element have a content model (#PCDATA | Inline)*? This * Does the element have a content model (#PCDATA | Inline)*? This
* is important for chameleon ins and del processing. * is important for chameleon ins and del processing in
* HTMLPurifier_ChildDef_Chameleon.
* @public * @public
*/ */
var $descendants_are_inline; var $descendants_are_inline;