diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-01-27 18:44:16 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-01-27 18:44:16 +0100 |
commit | d66ba05d2968e68ff96c53ce96a243d965fb9bb9 (patch) | |
tree | 579aae1c71f5b0fde3ec2dc1989149967dbda402 /user_guide/libraries | |
parent | 17f4d73ff388dbcb4d9fbd4f79a0f9150ddc8c7e (diff) |
added set_caption()
Diffstat (limited to 'user_guide/libraries')
-rw-r--r-- | user_guide/libraries/table.html | 6 |
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>
|