From 588727c7e2b8954ec3dbde293cf4c4d68b119f9b Mon Sep 17 00:00:00 2001
From: xue <>
Date: Mon, 19 Jun 2006 18:38:29 +0000
Subject: Merge from 3.0 branch till 1185.
---
demos/quickstart/protected/pages/Advanced/Collections.page | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'demos/quickstart/protected/pages/Advanced')
diff --git a/demos/quickstart/protected/pages/Advanced/Collections.page b/demos/quickstart/protected/pages/Advanced/Collections.page
index 181dc556..7fc3443d 100644
--- a/demos/quickstart/protected/pages/Advanced/Collections.page
+++ b/demos/quickstart/protected/pages/Advanced/Collections.page
@@ -1,6 +1,6 @@
Collection is a basic data structure in programming. In traditional PHP programming, array is used widely to represent collection data structure. A PHP array is a mix of cardinal-indxed array and hash table.
Collections
+Collections
A TList object represents a cardinal-indexed array, i.e., an array (object) with the index 0, 1, 2, ...
@@ -42,7 +42,7 @@ In addition, TList implements a few commonly used convenient methods foAs aforementioned, many PRADO component properties are based on TList or TList-derived collection classes. These properties all share the above usages.
@@ -62,7 +62,7 @@ foreach($control->Controls as $childControl) ... Another example is the Items property, available in list controls, TRepeater, TDataList and TDataGrid. In these controls, the ancestor class of Items is TList. -Often, we want to extend TList to perform additional operations for each addition or removal of an item. The only methods that the child class needs to override are insertAt() and removeAt(). For example, to ensure the list only contains items that are of TControl type, we can override insertAt() as follows,
@@ -77,7 +77,7 @@ public function insertAt($index,$item) -A TMap object represents a hash table (or we say string-indexed array).
@@ -107,7 +107,7 @@ The following methods are provided by TMap for convenience,TAttributeCollection is a special class extending from TMap. It is mainly used by the Attributes property of TControl.
-- cgit v1.2.3