diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-15 18:00:53 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-15 18:00:53 +0200 |
commit | 4fbda2a8814be5837ad3928c5e3cb8506bf8ab2a (patch) | |
tree | 89a5360e805bd2b68771630f45801e67bd95775e /system/core/Exceptions.php | |
parent | dbac73b4011a85c4ac3b3a7a6a8e30533b881155 (diff) | |
parent | 08d186492af82a7087c0a45a80b7e8d469c83292 (diff) |
Merge branch 'develop' of github.com:philsturgeon/codeigniter-reactor into develop
Diffstat (limited to 'system/core/Exceptions.php')
-rwxr-xr-x[-rw-r--r--] | system/core/Exceptions.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/system/core/Exceptions.php b/system/core/Exceptions.php index bff86a92f..869739a5a 100644..100755 --- a/system/core/Exceptions.php +++ b/system/core/Exceptions.php @@ -30,8 +30,21 @@ class CI_Exceptions { var $message; var $filename; var $line; + + /** + * Nesting level of the output buffering mechanism + * + * @var int + * @access public + */ var $ob_level; + /** + * List if available error levels + * + * @var array + * @access public + */ var $levels = array( E_ERROR => 'Error', E_WARNING => 'Warning', @@ -84,7 +97,8 @@ class CI_Exceptions { * 404 Page Not Found Handler * * @access private - * @param string + * @param string the page + * @param bool log error yes/no * @return string */ function show_404($page = '', $log_error = TRUE) @@ -115,6 +129,7 @@ class CI_Exceptions { * @param string the heading * @param string the message * @param string the template name + * @param int the status code * @return string */ function show_error($heading, $message, $template = 'error_general', $status_code = 500) |