cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php
| From: | Moshe Doron | Date: | Fri, 30 May 2003 12:25:14 +0000 |
| Subject: | cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969354074@lists.php.net to get a copy of this message | ||
momo Fri May 30 08:25:14 2003 EDT
Modified files:
/phpdoc/scripts/rtlpatch HtmlExtParser.class.php
Log:
add change_tag_type()
Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php
diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.7
phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.8
--- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.7 Thu May 29 10:53:22 2003
+++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Fri May 30 08:25:14 2003
@@ -16,7 +16,7 @@
| Authors: Moshe Doron <momo@php.net> |
+----------------------------------------------------------------------+
- $Id: HtmlExtParser.class.php,v 1.7 2003/05/29 14:53:22 momo Exp $
+ $Id: HtmlExtParser.class.php,v 1.8 2003/05/30 12:25:14 momo Exp $
*/
class CHtmlExtParse extends CHtmlParse{
@@ -187,6 +187,17 @@
}
}
return true;
+ }
+
+ function change_tag_type($id,$newtag){
+ $this->ATE[$id]["w4htype"] = $newtag;
+ $this->ATE[$this->ECE[$id]]["w4htype"] = $newtag;
+
+ if($newtag < __HTML_UNKNOWN__){
+ if(!isset($this->ATE[$id]["data"])) $this->ATE[$id]["data"] =
"";
+ }
+
+ //TODO: update the EBT
}
//\/\/\/\/\/\/\/\/\/\