summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/errors.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/general/errors.rst')
-rw-r--r--user_guide_src/source/general/errors.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/general/errors.rst b/user_guide_src/source/general/errors.rst
index 4428c65dc..9c190feb1 100644
--- a/user_guide_src/source/general/errors.rst
+++ b/user_guide_src/source/general/errors.rst
@@ -29,7 +29,7 @@ software keep track of your scripts and the health of your application.
The following functions let you generate errors:
-.. function:: show_error($message, $status_code, $heading = 'An Error Was Encountered')
+.. php:function:: show_error($message, $status_code, $heading = 'An Error Was Encountered')
:param mixed $message: Error message
:param int $status_code: HTTP Response status code
@@ -54,7 +54,7 @@ The following functions let you generate errors:
to ``EXIT_ERROR``.
You can check in *application/config/constants.php* for more detail.
-.. function:: show_404($page = '', $log_error = TRUE)
+.. php:function:: show_404($page = '', $log_error = TRUE)
:param string $page: URI string
:param bool $log_error: Whether to log the error
@@ -78,7 +78,7 @@ The following functions let you generate errors:
CodeIgniter automatically logs any ``show_404()`` calls. Setting the
optional second parameter to FALSE will skip logging.
-.. function:: log_message($level, $message, $php_error = FALSE)
+.. php:function:: log_message($level, $message, $php_error = FALSE)
:param string $level: Log level: 'error', 'debug' or 'info'
:param string $message: Message to log