summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/List.page
diff options
context:
space:
mode:
authorxue <>2006-01-26 14:56:13 +0000
committerxue <>2006-01-26 14:56:13 +0000
commit6baade86cc27d460dc780c016a6560deae48d247 (patch)
tree1caf7719974e704c6a8020a994ab867753391294 /demos/quickstart/protected/pages/Controls/List.page
parent2a3b195aaceb5df2964ca9b058292c9beea594f6 (diff)
Makes quickstart tutorial pages xhtml compatible.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/List.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/List.page4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/pages/Controls/List.page b/demos/quickstart/protected/pages/Controls/List.page
index 5f22e412..86de4c41 100644
--- a/demos/quickstart/protected/pages/Controls/List.page
+++ b/demos/quickstart/protected/pages/Controls/List.page
@@ -26,13 +26,13 @@ List controls covered in this section all inherit directly or indirectly from <t
Since <tt>TListControl</tt> inherits from <tt>TDataBoundControl</tt>, these list controls also share a common operation known as <tt>databinding</tt>. The <tt>Items</tt> can be populated from preexisting data specified by <tt>DataSource</tt> or <tt>DataSourceID</tt>. A function call to <tt>dataBind()</tt> will cause the data population. For list controls, data can be specified in three kinds of format:
</p>
<ul>
- <li>integer-indexed array : each array element value will be used as the value and text for a list item. For example
+ <li>integer-indexed array, <tt>TList</tt> or traversable : each array element value will be used as the value and text for a list item. For example
<com:TTextHighlighter CssClass="source">
$listbox->DataSource=array('item 1','item 2','item 3');
$listbox->dataBind();
</com:TTextHighlighter>
</li>
- <li>associative array : array keys will be used as list item values, and array values will be used as list item texts. For example
+ <li>associative array, <tt>TMap</tt> or traversable : array keys will be used as list item values, and array values will be used as list item texts. For example
<com:TTextHighlighter CssClass="source">
$listbox->DataSource=array(
'key 1'=>'item 1',