summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/table.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-01-27 18:44:16 +0100
committerDerek Allard <derek.allard@ellislab.com>2007-01-27 18:44:16 +0100
commitd66ba05d2968e68ff96c53ce96a243d965fb9bb9 (patch)
tree579aae1c71f5b0fde3ec2dc1989149967dbda402 /user_guide/libraries/table.html
parent17f4d73ff388dbcb4d9fbd4f79a0f9150ddc8c7e (diff)
added set_caption()
Diffstat (limited to 'user_guide/libraries/table.html')
-rw-r--r--user_guide/libraries/table.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html
index 1214d0e92..30968e255 100644
--- a/user_guide/libraries/table.html
+++ b/user_guide/libraries/table.html
@@ -184,6 +184,12 @@ $this->table->set_template($tmpl);
<h2>$this->table->generate()</h2>
<p>Returns a string containing the generated table. Accepts an optional parameter which can be an array or a database result object.</p>
+<h2>$this->table->set_caption()</h2>
+
+<p>Permits you to add a caption to the table.</p>
+
+<code>$this->table->set_caption('Colours');</code>
+
<h2>$this->table->set_heading()</h2>
<p>Permits you to set the table heading. You can submit an array or discreet params:</p>