summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
authorwei <>2006-01-05 01:13:15 +0000
committerwei <>2006-01-05 01:13:15 +0000
commit77750ab4cc4c0055a29352334a9357d74e3957d3 (patch)
tree193b2956bb39d69a406196598146e328d3bbb867 /framework/Collections
parent4ab3e2865788db181a0d4d6d3b459123df43d2b5 (diff)
coreLog instrumentation.
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TList.php8
1 files changed, 8 insertions, 0 deletions
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
@@ -85,6 +85,14 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess
}
/**
+ * @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}.
* @param integer the index of the item