summaryrefslogtreecommitdiffstats
path: root/system/core/Model.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-01-08 03:55:22 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-01-08 03:55:22 +0100
commit972e1d627e2f35aa8e4084bad3a4c396856f6074 (patch)
tree7657668fefe4552fd8c59bb7143960c2e79d3883 /system/core/Model.php
parent83a2581a5e7c1ae855cb3d6605fec8b3fdb3f1bf (diff)
parent90cfe14b8458a3c84825a741cd750c5a02690f3b (diff)
Merge pull request #886 from narfbg/develop-core-im
Improve core Input & Model libraries
Diffstat (limited to 'system/core/Model.php')
-rwxr-xr-xsystem/core/Model.php21
1 files changed, 7 insertions, 14 deletions
diff --git a/system/core/Model.php b/system/core/Model.php
index fc640139a..a595a6ae2 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,14 +38,9 @@
*/
class CI_Model {
- /**
- * Constructor
- *
- * @access public
- */
- function __construct()
+ public function __construct()
{
- log_message('debug', "Model Class Initialized");
+ 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 */