diff options
Diffstat (limited to 'program/include/html.php')
-rw-r--r-- | program/include/html.php | 10 |
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); + } } ?> |