summaryrefslogtreecommitdiffstats
path: root/system/core/Controller.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-04-19 19:21:06 +0200
committerTimothy Warren <tim@timshomepage.net>2012-04-19 19:21:06 +0200
commitad4750509885ad5bb368fc308f86d8c06d45b15c (patch)
tree8133d8ffdceb9877c3125175a20e8dcb79cea59c /system/core/Controller.php
parent71ac7e699f587ee479893d16521ea59570bd319f (diff)
Normalize comments in core files
Diffstat (limited to 'system/core/Controller.php')
-rw-r--r--system/core/Controller.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/core/Controller.php b/system/core/Controller.php
index 05e1bf5bf..e73e887a0 100644
--- a/system/core/Controller.php
+++ b/system/core/Controller.php
@@ -41,8 +41,16 @@
*/
class CI_Controller {
+ /**
+ * Reference to the global CI instance
+ *
+ * @var object
+ */
private static $instance;
+ /**
+ * Set up controller properties and methods
+ */
public function __construct()
{
self::$instance =& $this;
@@ -60,6 +68,11 @@ class CI_Controller {
log_message('debug', 'Controller Class Initialized');
}
+ /**
+ * Return the CI object
+ *
+ * @return object
+ */
public static function &get_instance()
{
return self::$instance;