2006-08-11 20:23:41 +00:00
|
|
|
|
|
|
|
Configuration
|
|
|
|
|
|
|
|
Configuration is documented on a per-use case: if a class uses a certain
|
|
|
|
value from the configuration object, it has to define its name and what the
|
2006-08-14 21:06:57 +00:00
|
|
|
value is used for. This means decentralized configuration declarations that
|
|
|
|
are nevertheless error checking and a centralized configuration object.
|
|
|
|
|
|
|
|
Directives are divided into namespaces, indicating the major portion of
|
2007-02-08 23:10:49 +00:00
|
|
|
functionality they cover (although there may be overlaps). Please consult
|
2006-08-14 21:06:57 +00:00
|
|
|
the documentation in ConfigDef for more information on these namespaces.
|
2006-08-15 00:31:12 +00:00
|
|
|
|
2006-10-01 20:47:07 +00:00
|
|
|
Since configuration is dependant on context, internal classes require a
|
|
|
|
configuration object to be passed as a parameter. (They also require a
|
2007-06-09 14:53:21 +00:00
|
|
|
Context object). A majority of classes do not need the config object,
|
|
|
|
but for those who do, it is a lifesaver.
|
2006-08-19 23:08:58 +00:00
|
|
|
|
2007-06-09 14:53:21 +00:00
|
|
|
Definition objects are complex datatypes influenced by their respective
|
|
|
|
directive namespaces (HTMLDefinition with HTML and CSSDefinition with CSS).
|
|
|
|
If any of these directives is updated, HTML Purifier forces the definition
|
|
|
|
to be regenerated.
|
2008-12-06 09:24:59 +00:00
|
|
|
|
|
|
|
vim: et sw=4 sts=4
|