Changeset 93103 in spip-zone
- Timestamp:
- Nov 23, 2015, 12:16:41 PM (5 years ago)
- Location:
- _core_/plugins/safehtml/lib/safehtml/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/safehtml/lib/safehtml/classes/HTMLSax3.php
r93092 r93103 45 45 var $State = array(); 46 46 47 function XML_HTMLSax3_StateParser(& $htmlsax) {47 function __construct(& $htmlsax) { 48 48 $this->htmlsax = & $htmlsax; 49 49 … … 154 154 155 155 class XML_HTMLSax3_StateParser_Lt430 extends XML_HTMLSax3_StateParser { 156 function XML_HTMLSax3_StateParser_Lt430(& $htmlsax) {156 function __construct(& $htmlsax) { 157 157 parent::XML_HTMLSax3_StateParser($htmlsax); 158 158 $this->parser_options['XML_OPTION_TRIM_DATA_NODES'] = 0; … … 186 186 187 187 class XML_HTMLSax3_StateParser_Gtet430 extends XML_HTMLSax3_StateParser { 188 function XML_HTMLSax3_StateParser_Gtet430(& $htmlsax) {188 function __construct(& $htmlsax) { 189 189 parent::XML_HTMLSax3_StateParser($htmlsax); 190 190 $this->parser_options['XML_OPTION_TRIM_DATA_NODES'] = 0; … … 220 220 var $state_parser; 221 221 222 function XML_HTMLSax3() {222 function __construct() { 223 223 if (version_compare(phpversion(), '4.3', 'ge')) { 224 224 $this->state_parser = new XML_HTMLSax3_StateParser_Gtet430($this); -
_core_/plugins/safehtml/lib/safehtml/classes/HTMLSax3/Decorators.php
r93092 r93103 3 3 var $orig_obj; 4 4 var $orig_method; 5 function XML_HTMLSax3_Trim(&$orig_obj, $orig_method) {5 function __construct(&$orig_obj, $orig_method) { 6 6 $this->orig_obj =& $orig_obj; 7 7 $this->orig_method = $orig_method; … … 18 18 var $orig_open_method; 19 19 var $orig_close_method; 20 function XML_HTMLSax3_CaseFolding(&$orig_obj, $orig_open_method, $orig_close_method) {20 function __construct(&$orig_obj, $orig_open_method, $orig_close_method) { 21 21 $this->orig_obj =& $orig_obj; 22 22 $this->orig_open_method = $orig_open_method; … … 33 33 var $orig_obj; 34 34 var $orig_method; 35 function XML_HTMLSax3_LineFeed(&$orig_obj, $orig_method) {35 function __construct(&$orig_obj, $orig_method) { 36 36 $this->orig_obj =& $orig_obj; 37 37 $this->orig_method = $orig_method; … … 47 47 var $orig_obj; 48 48 var $orig_method; 49 function XML_HTMLSax3_Tab(&$orig_obj, $orig_method) {49 function __construct(&$orig_obj, $orig_method) { 50 50 $this->orig_obj =& $orig_obj; 51 51 $this->orig_method = $orig_method; … … 61 61 var $orig_obj; 62 62 var $orig_method; 63 function XML_HTMLSax3_Entities_Parsed(&$orig_obj, $orig_method) {63 function __construct(&$orig_obj, $orig_method) { 64 64 $this->orig_obj =& $orig_obj; 65 65 $this->orig_method = $orig_method; … … 82 82 var $orig_obj; 83 83 var $orig_method; 84 function XML_HTMLSax3_Entities_Unparsed(&$orig_obj, $orig_method) {84 function __construct(&$orig_obj, $orig_method) { 85 85 $this->orig_obj =& $orig_obj; 86 86 $this->orig_method = $orig_method; … … 97 97 var $orig_obj; 98 98 var $orig_method; 99 function XML_HTMLSax3_Escape_Stripper(&$orig_obj, $orig_method) {99 function __construct(&$orig_obj, $orig_method) { 100 100 $this->orig_obj =& $orig_obj; 101 101 $this->orig_method = $orig_method;
Note: See TracChangeset
for help on using the changeset viewer.