From 79b68afe9f3a20e6f3762ac14e2c9b88cbdd392e Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 16 Dec 2008 19:05:50 +0000 Subject: Group settings boxes together in floating blocks for better layout git-svn-id: https://svn.roundcube.net/trunk@2164 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/html.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php index 9268acacc..032915f1f 100644 --- a/roundcubemail/program/include/html.php +++ b/roundcubemail/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