[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/classes/ -> MantisFilter.class.php (summary)

Base class that implements basic filter functionality and integration with MantisBT.

File Size: 90 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  validate()
  options()

Functions
Functions that are not part of a class:

validate( $p_filter_input )   X-Ref
Validate the filter input, returning true if input is
valid, or returning false if invalid.  Invalid inputs will
be replaced with the filter's default value.

param: multi Filter field input
return: boolean Input valid (true) or invalid (false)

options()   X-Ref
For list type filters, define a keyed-array of possible
filter options, not including an 'any' value.

return: array Filter options keyed by value=>display



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7