alecpl
2011-03-05 6f6efa20d742579381f450400f55e8bce7d839f0
- Add html_table::remove_body() function


1 files modified
12 ■■■■ changed files
program/include/html.php 12 ●●●● patch | view | raw | blame | history
program/include/html.php
@@ -524,7 +524,6 @@
        }
    }
    /**
     * Get HTML code for this object
     *
@@ -648,7 +647,6 @@
        }
    }
    /**
     * Jump to next row
     *
@@ -729,5 +727,15 @@
    {
      return count($this->rows);
    }
    /**
     * Remove table body (all rows)
     */
    public function remove_body()
    {
        $this->rows     = array();
        $this->rowindex = 0;
    }
}