summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-10-20 10:47:58 +0200
committerAndrey Andreev <narf@devilix.net>2016-10-20 10:48:38 +0200
commitfb4cec2f9184af60791eaaae612e1ffcb9a4ee4f (patch)
treefb3e0c93b799fe15651b99744d7772b42c480cbe
parentda270b26d7cb9c55385150659ecfb7d2d97b4c63 (diff)
Merge pull request #4863 from gxgpet/develop4
Add missing method chaining support to CI_Table::set_caption()
-rw-r--r--system/libraries/Table.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php
index 3bce294d8..f2fa434d9 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -277,6 +277,7 @@ class CI_Table {
public function set_caption($caption)
{
$this->caption = $caption;
+ return $this;
}
// --------------------------------------------------------------------