diff options
Diffstat (limited to 'framework/Collections')
-rw-r--r-- | framework/Collections/TList.php | 8 |
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
|