/sources/input_filter.php

Description
Classes
Class Description
field_restriction_loader
Functions
check_posted_field (line 28)

Check a posted field isn't 'evil'.

  • return: The filtered value
string check_posted_field (string $name, string $val)
  • string $name: The name of the parameter
  • string $val: The value retrieved
deshout_callback (line 198)

preg_replace callback to de-shout text.

  • return: De-shouted string
string deshout_callback (array $matches)
  • array $matches: Matches
filter_form_field_default (line 79)

Filter to alter form field values based on fields.xml. Usually a no-op.

  • return: The filtered value of the parameter
string filter_form_field_default (string $name, ?string $val)
  • string $name: The name of the parameter
  • ?string $val: The current value of the parameter (NULL: none)
load_field_restrictions (line 210)

Find all restrictions that apply to our page/type.

  • return: List of fields, each of which is a map (restriction => attributes)
array load_field_restrictions ([?string $this_page = NULL], [?string $this_type = NULL])
  • ?string $this_page: The page name scoped for (NULL: current page)
  • ?string $this_type: The page type scoped for (NULL: current type)
make_sentence_case_callback (line 187)

preg_replace callback to apply sentence case.

  • return: De-shouted string
string make_sentence_case_callback (array $matches)
  • array $matches: Matches

Documentation generated on Sun, 02 Jan 2011 23:16:05 +0000 by phpDocumentor 1.4.3