SDAppliedFilter Class Reference

Defines a class, SDAppliedFilter, that adds a value or a value range onto a an SDFilter instance. More...

List of all members.

Public Member Functions

 checkSQL ($value_field)
 Returns a string that adds a check for this filter/value combination to an SQL "WHERE" clause.
 getAllOrValues ($category)
 Gets an array of all values that the property belonging to this filter has, for pages in the passed-in category.

Static Public Member Functions

static create ($filter, $values, $search_term=null, $lower_date=null, $upper_date=null)

Public Attributes

 $filter
 $values = array()
 $search_term
 $lower_date
 $upper_date
 $lower_date_string
 $upper_date_string


Detailed Description

Defines a class, SDAppliedFilter, that adds a value or a value range onto a an SDFilter instance.

Author:
Yaron Koren

Definition at line 9 of file SD_AppliedFilter.php.


Member Function Documentation

static SDAppliedFilter::create ( filter,
values,
search_term = null,
lower_date = null,
upper_date = null 
) [static]

SDAppliedFilter::checkSQL ( value_field  ) 

Returns a string that adds a check for this filter/value combination to an SQL "WHERE" clause.

Definition at line 44 of file SD_AppliedFilter.php.

References $search_term.

SDAppliedFilter::getAllOrValues ( category  ) 

Gets an array of all values that the property belonging to this filter has, for pages in the passed-in category.

Definition at line 113 of file SD_AppliedFilter.php.

References SDUtils::monthToString().


Member Data Documentation

SDAppliedFilter::$filter

Definition at line 10 of file SD_AppliedFilter.php.

Referenced by create().

SDAppliedFilter::$values = array()

Definition at line 11 of file SD_AppliedFilter.php.

Referenced by create().

SDAppliedFilter::$search_term

Definition at line 12 of file SD_AppliedFilter.php.

Referenced by checkSQL(), and create().

SDAppliedFilter::$lower_date

Definition at line 13 of file SD_AppliedFilter.php.

Referenced by create().

SDAppliedFilter::$upper_date

Definition at line 14 of file SD_AppliedFilter.php.

Referenced by create().

SDAppliedFilter::$lower_date_string

Definition at line 15 of file SD_AppliedFilter.php.

SDAppliedFilter::$upper_date_string

Definition at line 16 of file SD_AppliedFilter.php.


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6