]> granicus.if.org Git - php/commitdiff
- Update examples to studlyCaps syntax
authorPierre Joye <pajoye@php.net>
Thu, 22 Jan 2004 15:45:50 +0000 (15:45 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 22 Jan 2004 15:45:50 +0000 (15:45 +0000)
ext/tidy/examples/cleanhtml5.php
ext/tidy/examples/urlgrab5.php

index 5e4095e8ac0d2c5359f70e29d04ddc8fbe848f8f..c31e36f1f294492cc416c97dc544208c423d8df2 100644 (file)
@@ -21,7 +21,7 @@
       $tidy = tidy_parse_file($_SERVER['argv'][1]);
     }
     
-    $tidy->clean_repair();
+    $tidy->cleanRepair();
     
     if(!empty($tidy->error_buf)) {
         
@@ -36,4 +36,4 @@
     
         
      
-     
\ No newline at end of file
+     
index d9f9f7f0659876f3797555cea0d049d9f9afb951..8e08322a149409a9df50f5da1a6452789b41c52b 100644 (file)
            }
        }
                    
-       if($node->has_children()) {
+       if($node->hasChildren()) {
 
            foreach($node->child as $c) {
-
                dump_nodes($c, $urls);
-               
            }
 
        }
@@ -36,6 +34,6 @@
     }
 
     $a = tidy_parse_file($_SERVER['argv'][1]);
-    $a->clean_repair();
+    $a->cleanRepair();
     print_r(dump_nodes($a->html()));
-?>
\ No newline at end of file
+?>