summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-10-20 10:47:58 +0200
committerGitHub <noreply@github.com>2016-10-20 10:47:58 +0200
commitbd01df1dfdb3cdd4d366052dcaece350418db5a3 (patch)
tree0a46d192b41a535a8380ca4184d6a500bdc30fa6
parent062b7d41d4cf656e481ea6cb5e8ccf1cd4933e20 (diff)
parent85e6be1fea7970b39971dc3bd12587d4f032c65a (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;
}
// --------------------------------------------------------------------