From 77750ab4cc4c0055a29352334a9357d74e3957d3 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 5 Jan 2006 01:13:15 +0000 Subject: coreLog instrumentation. --- framework/Collections/TList.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'framework/Collections') diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index e9e143b2..232e39c6 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -84,6 +84,14 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess return $this->_c; } + /** + * @return integer the number of items in the list + */ + public function getLength() + { + return $this->getCount(); + } + /** * Returns the item at the specified offset. * This method is exactly the same as {@link offsetGet}. -- cgit v1.2.3