FormVariables
in package
Table of Contents
- getVariables() : array<string|int, mixed>
- RecurseFilterArray() : bool
- reverseSanitize() : string
- Reverse sanitation for when HTML is allowed. Make sure we purify the HTML after though.
- sanitize() : string
Methods
getVariables()
public
static getVariables( $form_variables[, string $form_type = 'BOTH' ][, bool $filter_input = true ][, array<string|int, mixed> $filter_ignore_name_arr = ['next_page', 'batch_next_page'] ]) : array<string|int, mixed>
Parameters
- $form_variables :
- $form_type : string = 'BOTH'
- $filter_input : bool = true
- $filter_ignore_name_arr : array<string|int, mixed> = ['next_page', 'batch_next_page']
Return values
array<string|int, mixed> —RecurseFilterArray()
public
static RecurseFilterArray( &$arr) : bool
Parameters
Return values
bool —reverseSanitize()
Reverse sanitation for when HTML is allowed. Make sure we purify the HTML after though.
public
static reverseSanitize( $val) : string
Parameters
Return values
string —sanitize()
public
static sanitize( $val) : string