IP.Board  3.3.0
adminMemberSearch Class Reference

Public Member Functions

 __construct (ipsRegistry $registry)
 generateFilterBoxes ()
 getHtmlPresets ()
 getMemberType ()
 getOrderByClause ()
 getSearchResults ($st, $limit, $extraQuery='', $minimalInfo=false)
 getSearchResultsCount ($extraQuery='')
 getSearchType ()
 getWhereClause ()
 resetFilters ()

Protected Attributes

 $cache
 $caches
 $DB
 $htmlPresets = array()
 $lang
 $member
 $memberData
 $registry
 $request
 $settings
 $showAllMembers = false

Constructor & Destructor Documentation

__construct ( ipsRegistry registry)

Constructor

Parameters:
object$registryRegistry object
Returns:
void

Member Function Documentation

Generate context-menu filter boxes. Pass &_nosave=1 to not store / read from a cookie

Author:
Matt Mecham
Since:
IPB 3.0.0
Returns:
array

Get HTML presets

Returns:
array

Get member search status type

Returns:
array

Get the ORDER BY part of the SQL query

Returns:
string SQL ORDER BY string
getSearchResults ( st,
limit,
extraQuery = '',
minimalInfo = false 
)

Get search results

Parameters:
int$stStart offset
int$limitResults limit
string[$extraQuery] Extra query where clause
bool[$minimalInfo] Only return ids and names
Returns:
array Array of search results, or an array with keys 'ids' and 'names' if $minimalInfo is true
getSearchResultsCount ( extraQuery = '')

Get search results count

Parameters:
string[$extraQuery] Extra query where clause
Returns:
int Number of search results

Get type of search performed

Returns:
array

Get the WHERE part of the SQL query

Returns:
string SQL WHERE string

Reset filters - pull all members with no WHERE clause

Returns:
void

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables