summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/table.html
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-09 19:36:45 +0200
committeradmin <devnull@localhost>2006-10-09 19:36:45 +0200
commit2f0bac87c73febde8019e7cbab541905bcb0e5dd (patch)
treeaf7a205f00ef4eb17ff0f56a38a54ff1be069168 /user_guide/libraries/table.html
parent3822194cde4614137a54eecb1e1fcc86672e84a1 (diff)
Diffstat (limited to 'user_guide/libraries/table.html')
-rw-r--r--user_guide/libraries/table.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html
index e80e53fd7..61b5ce82f 100644
--- a/user_guide/libraries/table.html
+++ b/user_guide/libraries/table.html
@@ -76,7 +76,8 @@ HTML Table Class
<h2>Examples</h2>
<p>Here is an example showing how you can create a table from a multi-dimensional array.
-Note that the first array index will become the table heading.</p>
+Note that the first array index will become the table heading (or you can set your own headings using the
+<dfn>set_heading()</dfn> function described in the function reference below).</p>
<code>
$this->load->library('table');<br />
@@ -92,8 +93,8 @@ echo $this->table->generate($data);
</code>
<p>Here is an example of a table created from a database query result. The table class will automatically generate the
-headings based on the table names. Or you can set your own headings using the <dfn>set_heading()</dfn> function described
-in the function reference below.</p>
+headings based on the table names (or you can set your own headings using the <dfn>set_heading()</dfn> function described
+in the function reference below).</p>
<code>
$this->load->library('table');<br />
@@ -164,7 +165,7 @@ $tmpl = array (<br />
$this->table->set_template($tmpl);
</code>
-<p class="important">You'll notice there are two sets of "row" blocks in the template. These permit you to create alternating row colors or design elements that alternate with each
+<p class="important"><strong>Note:</strong>&nbsp; You'll notice there are two sets of "row" blocks in the template. These permit you to create alternating row colors or design elements that alternate with each
iteration of the row data.</p>
<p>You are NOT required to submit a complete template. If you only need to change parts of the layout you can simply submit those elements.