Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

doc: xss_clean() method is in Security, not Input #2075

Merged
merged 2 commits into from Jan 3, 2013
Jump to file or symbol
Failed to load files and symbols.
+5 −5
Split
@@ -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'); ?> />
+ <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> />