Skip to content

Commit

Permalink
Improve filter documentation (#3941)
Browse files Browse the repository at this point in the history
* Organize Filter constants into dedicated lists

* Group validation filters somewhat

* Start describing some filters

* Move Validation filter documentation to constants.

* Move some sanitization filters

---------

Co-authored-by: Christoph M. Becker <[email protected]>
  • Loading branch information
Girgias and cmb69 authored Nov 3, 2024
1 parent abbba1f commit 764051c
Show file tree
Hide file tree
Showing 3 changed files with 650 additions and 848 deletions.
2 changes: 1 addition & 1 deletion reference/filter/book.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<emphasis>validation</emphasis> and <emphasis>sanitization</emphasis>.
</para>
<para>
<link linkend="filter.filters.validate">Validation</link> is used to
Validation is used to
validate or check if the data meets certain qualifications. For example,
passing in <constant>FILTER_VALIDATE_EMAIL</constant> will determine if
the data is a valid email address, but will not change the data itself.
Expand Down
Loading

0 comments on commit 764051c

Please sign in to comment.