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/Driver.php | |
parent | 579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff) |
Changing all class constructors to __construct()
Diffstat (limited to 'system/libraries/Driver.php')
-rw-r--r-- | system/libraries/Driver.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php index 2eb9c1e5e..8579a6023 100644 --- a/system/libraries/Driver.php +++ b/system/libraries/Driver.php @@ -119,11 +119,10 @@ class CI_Driver { * * Decorates the child with the parent driver lib's methods and properties * - * @access public * @param object * @return void */ - function decorate($parent) + public function decorate($parent) { $this->parent = $parent; @@ -191,11 +190,10 @@ class CI_Driver { * * Handles reading of the parent driver library's properties * - * @access public * @param string * @return mixed */ - function __get($var) + public function __get($var) { if (in_array($var, $this->properties)) { @@ -210,12 +208,11 @@ class CI_Driver { * * Handles writing to the parent driver library's properties * - * @access public * @param string * @param array * @return mixed */ - function __set($var, $val) + public function __set($var, $val) { if (in_array($var, $this->properties)) { |