HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/ChildDef.php
Go to the documentation of this file.
00001 <?php
00002 
00006 abstract class HTMLPurifier_ChildDef
00007 {
00012     public $type;
00013 
00020     public $allow_empty;
00021 
00025     public $elements = array();
00026 
00031     public function getAllowedElements($config) {
00032         return $this->elements;
00033     }
00034 
00045     abstract public function validateChildren($tokens_of_children, $config, $context);
00046 }
00047 
00048 // vim: et sw=4 sts=4