Search for query
Title | Object type | File name | Summary |
---|---|---|---|
views_plugin_query_default::$table_queue | property | plugins/ |
A list of tables in the order they should be added, keyed by alias. |
views_plugin_query_default::$where | property | plugins/ |
An array of sections of the WHERE query. Each section is in itself an array of pieces and a flag as to whether or not it should be AND or OR. |
views_plugin_query_default::add_field | function | plugins/ |
Add a field to the query table, possibly with an alias. This will automatically call ensure_table to make sure the required table exists, *unless* $table is unset. |
views_plugin_query_default::add_groupby | function | plugins/ |
Add a simple GROUP BY clause to the query. The caller is responsible for ensuring that the fields are fully qualified and the table is properly added. |
views_plugin_query_default::add_having | function | plugins/ |
Add a simple HAVING clause to the query. The caller is responsible for ensuring that all fields are fully qualified (TABLE.FIELD) and that the table and an appropriate GROUP BY already exist in the query. |
views_plugin_query_default::add_orderby | function | plugins/ |
Add an ORDER BY clause to the query. |
views_plugin_query_default::add_relationship | function | plugins/ |
A relationship is an alternative endpoint to a series of table joins. Relationships must be aliases of the primary table and they must join either to the primary table or to a pre-existing relationship. |
views_plugin_query_default::add_signature | function | plugins/ |
Add a signature to the query, if such a thing is feasible. |
views_plugin_query_default::add_table | function | plugins/ |
Add a table to the query, ensuring the path exists. |
views_plugin_query_default::add_where | function | plugins/ |
Add a simple WHERE clause to the query. The caller is responsible for ensuring that all fields are fully qualified (TABLE.FIELD) and that the table already exists in the query. |
views_plugin_query_default::adjust_join | function | plugins/ |
Fix a join to adhere to the proper relationship; the left table can vary based upon what relationship items are joined in on. |
views_plugin_query_default::alter | function | plugins/ |
Let modules modify the query just prior to finalizing it. |
views_plugin_query_default::build | function | plugins/ |
Builds the necessary info to execute the query. |
views_plugin_query_default::clear_fields | function | plugins/ |
Remove all fields that may've been added; primarily used for summary mode where we're changing the query because we didn't get data we needed. |
views_plugin_query_default::compile_fields | function | plugins/ |
|
views_plugin_query_default::condition_sql | function | plugins/ |
Construct the "WHERE" or "HAVING" part of the query. |
views_plugin_query_default::db_fetch_object | function | plugins/ |
Wrapper method for db_fetch_object(). |
views_plugin_query_default::db_query | function | plugins/ |
Wrapper method for db_query(). |
views_plugin_query_default::db_query_range | function | plugins/ |
Wrapper method for db_query_range(). |
views_plugin_query_default::db_result | function | plugins/ |
Wrapper method for db_result(). |
views_plugin_query_default::db_set_active | function | plugins/ |
Wrapper method for db_set_active(). |
views_plugin_query_default::ensure_path | function | plugins/ |
Make sure that the specified table can be properly linked to the primary table in the JOINs. This function uses recursion. If the tables needed to complete the path back to the primary table are not in the query they will be added, but additional… |
views_plugin_query_default::ensure_table | function | plugins/ |
Ensure a table exists in the queue; if it already exists it won't do anything, but if it doesn't it will add the table queue. It will ensure a path leads back to the relationship table. |
views_plugin_query_default::execute | function | plugins/ |
Executes the query and fills the associated view object with according values. |
views_plugin_query_default::get_aggregation_info | function | plugins/ |
Get aggregation info for group by queries. |
views_plugin_query_default::get_cache_info | function | plugins/ |
Return info to base the uniqueness of the result on. |
views_plugin_query_default::get_join_data | function | plugins/ |
Retrieve join data from the larger join data cache. |
views_plugin_query_default::get_preview_info | function | plugins/ |
Return preview info. |
views_plugin_query_default::get_table_info | function | plugins/ |
Get the information associated with a table. |
views_plugin_query_default::get_where_args | function | plugins/ |
Get the arguments attached to the WHERE and HAVING clauses of this query. |
views_plugin_query_default::init | function | plugins/ |
Constructor; Create the basic query object and fill with default values. |
views_plugin_query_default::mark_table | function | plugins/ |
|
views_plugin_query_default::options_form | function | plugins/ |
Add settings for the ui. |
views_plugin_query_default::option_definition | function | plugins/ |
Information about options for all kinds of purposes will be held here. |
views_plugin_query_default::query | function | plugins/ |
Generate a query and a countquery from all of the information supplied to the object. |
views_plugin_query_default::queue_table | function | plugins/ |
Add a table to the query without ensuring the path. |
views_plugin_query_default::set_count_field | function | plugins/ |
Set what field the query will count() on for paging. |
views_plugin_query_default::set_distinct | function | plugins/ |
Set the base field to be distinct. |
views_plugin_query_default::set_header | function | plugins/ |
Set the table header; used for click-sorting because it's needed info to modify the ORDER BY clause. |
views_plugin_row::query | function | plugins/ |
Add anything to the query that we might need to. |
views_plugin_style::query | function | plugins/ |
Add anything to the query that we might need to. |
views_plugin_style_summary::query | function | plugins/ |
Add anything to the query that we might need to. |
views_plugin_style_summary_jump_menu::query | function | plugins/ |
Add anything to the query that we might need to. |
views_query.test | file | tests/ |
Tests for Views query features. |
views_query_default_aggregation_method_simple | function | plugins/ |
|
views_views_query_substitutions | function | ./ |
Substitute current time; this works with cached queries. |
Pagination
- Previous page
- Page 4