X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/lib/htmlpurifier/HTMLPurifier/ChildDef
home
/
cbholdings
/
pasukulu
/
lib
/
htmlpurifier
/
HTMLPurifier
/
ChildDef
/
📁
..
📄
Chameleon.php
(1.85 KB)
📄
Custom.php
(2.67 KB)
📄
Empty.php
(866 B)
📄
List.php
(2.97 KB)
📄
Optional.php
(1.18 KB)
📄
Required.php
(3.27 KB)
📄
StrictBlockquote.php
(2.85 KB)
📄
Table.php
(7 KB)
Editing: Empty.php
<?php /** * Definition that disallows all elements. * @warning validateChildren() in this class is actually never called, because * empty elements are corrected in HTMLPurifier_Strategy_MakeWellFormed * before child definitions are parsed in earnest by * HTMLPurifier_Strategy_FixNesting. */ class HTMLPurifier_ChildDef_Empty extends HTMLPurifier_ChildDef { /** * @type bool */ public $allow_empty = true; /** * @type string */ public $type = 'empty'; public function __construct() { } /** * @param HTMLPurifier_Node[] $children * @param HTMLPurifier_Config $config * @param HTMLPurifier_Context $context * @return array */ public function validateChildren($children, $config, $context) { return array(); } } // vim: et sw=4 sts=4
Upload File
Create Folder