Sanitizer class serves as anti XSS protection. It handles Int and String parameters provided via HTTP GET and HTTP POST.
◆ getGetInt()
| static Sanitizer::getGetInt |
( |
|
$key | ) |
|
|
static |
Process Integer provided via. HTTP GET.
- Parameters
-
- Exceptions
-
- Returns
- int
◆ getGetString()
| static Sanitizer::getGetString |
( |
|
$key | ) |
|
|
static |
Process String provided via. HTTP GET.
- Parameters
-
- Exceptions
-
- Returns
- string
◆ getPostInt()
| static Sanitizer::getPostInt |
( |
|
$key | ) |
|
|
static |
Process Integer provided via. HTTP POST.
- Parameters
-
- Exceptions
-
- Returns
- int
◆ getPostString()
| static Sanitizer::getPostString |
( |
|
$key | ) |
|
|
static |
Process String provided via. HTTP POST.
- Parameters
-
- Exceptions
-
- Returns
- string
The documentation for this class was generated from the following file: