summaryrefslogtreecommitdiffstats
path: root/system/core/Hooks.php
diff options
context:
space:
mode:
authorDavid Behler <mail@davidbehler.de>2011-08-14 21:04:17 +0200
committerDavid Behler <mail@davidbehler.de>2011-08-14 21:04:17 +0200
commit9b5df59a6be4da0016b738de8c4fcd3a14d43867 (patch)
tree1412aa8dd11a318d559222dd0656af13a624168d /system/core/Hooks.php
parent050abb8aa6347cb076153f44b2ea0b5f0da006c0 (diff)
Added some docs to 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;
/**