summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/common_functions.rst
diff options
context:
space:
mode:
authorConnor Tumbleson <connor.tumbleson@gmail.com>2014-01-09 17:10:30 +0100
committerConnor Tumbleson <connor.tumbleson@gmail.com>2014-01-09 17:13:37 +0100
commit05be0879777021a73ca55548c6edd61d17012a4d (patch)
tree59c2767fd5a54b50839c44ea32897b0db3546885 /user_guide_src/source/general/common_functions.rst
parent528591deb8f3a1b9663b43c66d75ba1a4059e8fe (diff)
d'oh - :noindex: in wrong place
Signed-off-by: Connor Tumbleson <connor.tumbleson@gmail.com>
Diffstat (limited to 'user_guide_src/source/general/common_functions.rst')
-rw-r--r--user_guide_src/source/general/common_functions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/general/common_functions.rst b/user_guide_src/source/general/common_functions.rst
index e9259795f..a1007cb4b 100644
--- a/user_guide_src/source/general/common_functions.rst
+++ b/user_guide_src/source/general/common_functions.rst
@@ -71,7 +71,7 @@ documentation for more information.
show_error()
============
-.. php:function:: show_error($message, $status_code, $heading = 'An Error Was Encountered') :noindex:
+.. :noindex: 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
@@ -84,7 +84,7 @@ please see the :doc:`Error Handling <errors>` documentation.
show_404()
==========
-.. php:function:: show_404($page = '', $log_error = TRUE) :noindex:
+.. :noindex: php:function:: show_404($page = '', $log_error = TRUE)
:param string $page: URI string
:param bool $log_error: Whether to log the error
@@ -96,7 +96,7 @@ please see the :doc:`Error Handling <errors>` documentation.
log_message()
=============
-.. php:function:: log_message($level, $message) :noindex:
+.. :noindex: php:function:: log_message($level, $message)
:param string $level: Log level: 'error', 'debug' or 'info'
:param string $message: Message to log