diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-07 19:29:10 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-07 19:29:10 +0100 |
commit | 64e98aab6ba2c692a881035245efb94a76deb428 (patch) | |
tree | ea6c37dd6f72dcfac4f7389ac7577afc19fc0e77 /system/core/Model.php | |
parent | 9252d7bf2208d351aad4292cb79c509391f0313f (diff) |
Improve code Input & Model libraries
Diffstat (limited to 'system/core/Model.php')
-rwxr-xr-x | system/core/Model.php | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/system/core/Model.php b/system/core/Model.php index fc640139a..cd64468b8 100755 --- a/system/core/Model.php +++ b/system/core/Model.php @@ -1,13 +1,13 @@ -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); +<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.1.6 or newer * * NOTICE OF LICENSE - * + * * Licensed under the Open Software License version 3.0 - * + * * This source file is subject to the Open Software License (OSL 3.0) that is * bundled with this package in the files license.txt / license.rst. It is * also available through the world wide web at this URL: @@ -38,12 +38,7 @@ */ class CI_Model { - /** - * Constructor - * - * @access public - */ - function __construct() + public function __construct() { log_message('debug', "Model Class Initialized"); } @@ -55,15 +50,13 @@ class CI_Model { * syntax as controllers. * * @param string - * @access private */ - function __get($key) + public function __get($key) { $CI =& get_instance(); return $CI->$key; } } -// END Model Class /* End of file Model.php */ -/* Location: ./system/core/Model.php */
\ No newline at end of file +/* Location: ./system/core/Model.php */ |