glFusion Wiki

Site Tools



This class is responsible for handling data retrieval from the browser. All variables are properly run through stripslashes() if necessary so the programmer should not have to worry about that function.

This class also supports retrieving URL variables when URL Rewrite enabled.

glFusion creates a global handle to this class, $inputHandler.

Data Retrieval Functions

  • getVar - Retrieves a $_POST, $_GET, $_REQUEST, $_ENV, or $_COOKIE variable.
  • buttonCheck - Find which button was pressed on form.

Filtering Functions

  • filterVar - Filters and returns a variable
  • censor - Censors a text string for bad words.
  • prepareForDB - Properly escapes a string for use in a SQL query

URL Rewrite Functions

  • setArgNames - Assigns logical names to query string variables
glfusion/development/api/sanitize_class/start.txt · Last modified: 2016/10/09 10:10 (external edit)

Page Tools