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. |
BP_XProfile_Query::__construct() |
Constructor. |
BP_XProfile_Query::sanitize_query() |
Ensure the `xprofile_query` argument passed to the class constructor is well-formed. |
BP_XProfile_Query::is_first_order_clause() |
Determine whether a query clause is first-order. |
BP_XProfile_Query::get_cast_for_type() |
Return the appropriate alias for the given field type if applicable. |
BP_XProfile_Query::get_sql_clauses() |
Generate SQL clauses to be appended to a main query. |
BP_XProfile_Query::get_sql_for_query() |
Generate SQL clauses for a single query array. |
BP_XProfile_Query::get_sql() |
Generates SQL clauses to be appended to a main query. |
BP_XProfile_Query::get_sql_for_clause() |
Generate SQL JOIN and WHERE clauses for a first-order query clause. |
BP_XProfile_Query::find_compatible_table_alias() |
Identify an existing table alias that is compatible with the current query clause. |