File: bp-xprofile/classes/class-bp-xprofile-query.php
Description
BP_XProfile_Query

Class for generating SQL clauses to filter a user query by xprofile data.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:17

BP_XProfile_Query::__construct()

Constructor.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:78

BP_XProfile_Query::sanitize_query()

Ensure the `xprofile_query` argument passed to the class constructor is well-formed.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:96

BP_XProfile_Query::is_first_order_clause()

Determine whether a query clause is first-order.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:162

BP_XProfile_Query::get_cast_for_type()

Return the appropriate alias for the given field type if applicable.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:174

BP_XProfile_Query::get_sql_clauses()

Generate SQL clauses to be appended to a main query.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:207

BP_XProfile_Query::get_sql_for_query()

Generate SQL clauses for a single query array.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:238

BP_XProfile_Query::get_sql()

Generates SQL clauses to be appended to a main query.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:318

BP_XProfile_Query::get_sql_for_clause()

Generate SQL JOIN and WHERE clauses for a first-order query clause.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:352

BP_XProfile_Query::find_compatible_table_alias()

Identify an existing table alias that is compatible with the current query clause.

Source: bp-xprofile/classes/class-bp-xprofile-query.php:510