summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-03 12:54:07 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-03 12:54:07 +0100
commit594bfd726a1ecb4ac87cf035928395ed76b895b9 (patch)
tree55e253c61e4e83e8dff288a40bfff90313ee8096 /user_guide_src/source
parentf69973df6ab099846ad69f9794944ad41d992023 (diff)
parent93fa7e1cb720ff367b2d6326ae3c57802192cbf8 (diff)
Merge pull request #2075 from sourcejedi/patch-1
doc: xss_clean() method is in Security, not Input
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/libraries/form_validation.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst
index fbe540ce0..ce1695d62 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -911,15 +911,15 @@ Prepping Reference
The following is a list of all the prepping methods that are available
to use:
-==================== ========= ===================================================================================================
+==================== ========= =======================================================================================================
Name Parameter Description
-==================== ========= ===================================================================================================
-**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Input Class <input>` page.
+==================== ========= =======================================================================================================
+**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Security Class <security>` page.
**prep_for_form** No Converts special characters so that HTML data can be shown in a form field without breaking it.
**prep_url** No Adds "\http://" to URLs if missing.
**strip_image_tags** No Strips the HTML from image tags leaving the raw URL.
**encode_php_tags** No Converts PHP tags to entities.
-==================== ========= ===================================================================================================
+==================== ========= =======================================================================================================
.. note:: You can also use any native PHP functions that permits one
parameter, like ``trim()``, ``htmlspecialchars()``, ``urldecode()``,
@@ -1081,4 +1081,4 @@ This function is identical to the **set_checkbox()** function above.
::
<input type="radio" name="myradio" value="1" <?php echo set_radio('myradio', '1', TRUE); ?> />
- <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> /> \ No newline at end of file
+ <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> />