From d66ba05d2968e68ff96c53ce96a243d965fb9bb9 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sat, 27 Jan 2007 17:44:16 +0000 Subject: added set_caption() --- user_guide/libraries/table.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'user_guide/libraries/table.html') 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);

$this->table->generate()

Returns a string containing the generated table. Accepts an optional parameter which can be an array or a database result object.

+

$this->table->set_caption()

+ +

Permits you to add a caption to the table.

+ +$this->table->set_caption('Colours'); +

$this->table->set_heading()

Permits you to set the table heading. You can submit an array or discreet params:

-- cgit v1.2.3-24-g4f1b