summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries')
-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>