summaryrefslogtreecommitdiff
path: root/program/include/html.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-12-16 19:05:50 +0000
committerthomascube <thomas@roundcube.net>2008-12-16 19:05:50 +0000
commit35c31ed638d2b7d9b1c803e5a47aab7771cfe730 (patch)
tree09b390cb51b3e96e81e8e41114d6683fde85a4ba /program/include/html.php
parent58687d011f014c03b2c5b08ce7c81372a7f5e4a5 (diff)
Group settings boxes together in floating blocks for better layout
Diffstat (limited to 'program/include/html.php')
-rw-r--r--program/include/html.php10
1 files changed, 10 insertions, 0 deletions
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);
+ }
}
?>