summaryrefslogtreecommitdiffstats
path: root/system/core/Hooks.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-08-14 21:11:29 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-08-14 21:11:29 +0200
commit19af21d5425ace1621cbd26677c327c990bb75c1 (patch)
tree6a4de90124615ff5cb71b3c7feaf7006748e516c /system/core/Hooks.php
parent6cf190dcd68432a5bcea91bfc10a38b3f56e7f46 (diff)
parent9b5df59a6be4da0016b738de8c4fcd3a14d43867 (diff)
Merge pull request #49 from waldmeister/develop
Added some doc blocks to some CI core files
Diffstat (limited to 'system/core/Hooks.php')
-rwxr-xr-x[-rw-r--r--]system/core/Hooks.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/core/Hooks.php b/system/core/Hooks.php
index fd6380f0a..33f1c034c 100644..100755
--- a/system/core/Hooks.php
+++ b/system/core/Hooks.php
@@ -28,8 +28,23 @@
*/
class CI_Hooks {
+ /**
+ * Determines wether hooks are enabled
+ *
+ * @var bool
+ */
var $enabled = FALSE;
+ /**
+ * List of all hooks set in config/hooks.php
+ *
+ * @var array
+ */
var $hooks = array();
+ /**
+ * Determines wether hook is in progress, used to prevent infinte loops
+ *
+ * @var bool
+ */
var $in_progress = FALSE;
/**