diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-11-10 22:26:43 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-11-10 22:26:43 +0100 |
commit | a926328583e7ffdaaac7daf2f87810d842423f21 (patch) | |
tree | 7e4b62b3029de2a7273ab94d30148a60e496ada7 /system/libraries/Parser.php | |
parent | 579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff) |
Changing all class constructors to __construct()
Diffstat (limited to 'system/libraries/Parser.php')
-rw-r--r-- | system/libraries/Parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php index f7320c5a0..5d9203a91 100644 --- a/system/libraries/Parser.php +++ b/system/libraries/Parser.php @@ -42,7 +42,7 @@ class CI_Parser { * @param bool * @return string */ - function parse($template, $data, $return = FALSE) + public function __construct($template, $data, $return = FALSE) { $CI =& get_instance(); $template = $CI->load->view($template, $data, TRUE); |