From 35c31ed638d2b7d9b1c803e5a47aab7771cfe730 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 16 Dec 2008 19:05:50 +0000 Subject: Group settings boxes together in floating blocks for better layout --- program/include/html.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'program/include') diff --git a/program/include/html.php b/program/include/html.php index 9268acacc..032915f1f 100644 --- a/program/include/html.php +++ b/program/include/html.php @@ -669,6 +669,16 @@ class html_table extends html unset($this->attrib['cols'], $this->attrib['rowsonly']); return parent::show(); } + + /** + * Count number of rows + * + * @return The number of rows + */ + public function size() + { + return count($this->rows); + } } ?> -- cgit v1.2.3