[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/ChildDef/ -> Empty.php (source)

   1  <?php
   2  
   3  /**
   4   * Definition that disallows all elements.
   5   * @warning validateChildren() in this class is actually never called, because
   6   *          empty elements are corrected in HTMLPurifier_Strategy_MakeWellFormed
   7   *          before child definitions are parsed in earnest by
   8   *          HTMLPurifier_Strategy_FixNesting.
   9   */
  10  class HTMLPurifier_ChildDef_Empty extends HTMLPurifier_ChildDef
  11  {
  12      public $allow_empty = true;
  13      public $type = 'empty';
  14      public function __construct() {}
  15      public function validateChildren($tokens_of_children, $config, $context) {
  16          return array();
  17      }
  18  }
  19  
  20  // vim: et sw=4 sts=4


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1