[med-svn] r544 - trunk/community/website/inc

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Wed Oct 3 21:39:01 UTC 2007


Author: hanska-guest
Date: 2007-10-03 21:39:01 +0000 (Wed, 03 Oct 2007)
New Revision: 544

Modified:
   trunk/community/website/inc/table-parser.inc.php
Log:
Ok, ok, alioth is still at PHP4. :(


Modified: trunk/community/website/inc/table-parser.inc.php
===================================================================
--- trunk/community/website/inc/table-parser.inc.php	2007-10-03 21:37:42 UTC (rev 543)
+++ trunk/community/website/inc/table-parser.inc.php	2007-10-03 21:39:01 UTC (rev 544)
@@ -32,13 +32,13 @@
  
 class TableParser
 {
-	private $currow = -1;
-	private $curcol = -1;
+	var $currow = -1;
+	var $curcol = -1;
 	
-	private $shape = array();
-	private $data= array();
+	var $shape = array();
+	var $data= array();
 	
-	public function openHandler ($parser, $tag, $attrs)	{
+	function openHandler ($parser, $tag, $attrs)	{
 		$tag = strtolower($tag);
 		
 		// Move to the correct cell co-ordinates.
@@ -75,21 +75,21 @@
 			}
 	}
 	
-	public function closeHandler ($parser, $tag) {
+	function closeHandler ($parser, $tag) {
 	}
 	
-	public function dataHandler ($parser, $data) {
+	function dataHandler ($parser, $data) {
 		$this->data[$this->currow][$this->curcol] .= $data;
 	}
 	
-	public function getData () {
+	function getData () {
 		unset($this->data[-1]);
 		foreach ($this->data as $k => $v)
 			unset($this->data[$k][-1]);
 		return $this->data;
 	}
 	
-	public static function Go ($table_html) {
+	function Go ($table_html) {
 		require_once 'XML/HTMLSax3.php';
 		$sax = new XML_HTMLSax3;
 		$hdlr = new TableParser;




More information about the debian-med-commit mailing list