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.
---
.../protected/pages/Advanced/Collections.page | 12 ++++++------
.../protected/pages/Configurations/Templates3.page | 14 ++++++++++++++
demos/quickstart/protected/pages/Search.page | 18 ------------------
demos/quickstart/protected/pages/Search.php | 7 +------
4 files changed, 21 insertions(+), 30 deletions(-)
(limited to 'demos')
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.
diff --git a/demos/quickstart/protected/pages/Configurations/Templates3.page b/demos/quickstart/protected/pages/Configurations/Templates3.page index 99d43665..bc3b1f87 100644 --- a/demos/quickstart/protected/pages/Configurations/Templates3.page +++ b/demos/quickstart/protected/pages/Configurations/Templates3.page @@ -44,6 +44,20 @@ The format of databind tags is as follows,+Since v3.0.2, expression tags and databind tags can be embedded within static strings. For example, you can write the following in a template, +
++Previously, you would have to use a single expression with string concatenations to achieve the same effect. +