/[drupal]/contributions/modules/views/plugins/views_plugin_query.inc
ViewVC logotype

Diff of /contributions/modules/views/plugins/views_plugin_query.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.2 by merlinofchaos, Wed Jul 1 15:36:26 2009 UTC revision 1.1.2.3 by merlinofchaos, Tue Nov 10 23:20:06 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: views_plugin_query.inc,v 1.1.2.1 2009/05/20 03:03:38 merlinofchaos Exp $  // $Id: views_plugin_query.inc,v 1.1.2.2 2009/07/01 15:36:26 merlinofchaos Exp $
3  /**  /**
4   * @file views_plugin_query_default.inc   * @file views_plugin_query_default.inc
5   * Defines the base query class, which is the underlying layer in a View.   * Defines the base query class, which is the underlying layer in a View.
# Line 23  class views_plugin_query extends views_p Line 23  class views_plugin_query extends views_p
23     *   Provide a countquery if this is true, otherwise provide a normal query.     *   Provide a countquery if this is true, otherwise provide a normal query.
24     */     */
25    function query($get_count = FALSE) { }    function query($get_count = FALSE) { }
26    
27    /**    /**
28     * Let modules modify the query just prior to finalizing it.     * Let modules modify the query just prior to finalizing it.
29     */     */
30    function alter(&$view) {  }    function alter(&$view) {  }
31    
32    /**    /**
33     * Builds the necessary info to execute the query.     * Builds the necessary info to execute the query.
34     */     */
# Line 37  class views_plugin_query extends views_p Line 37  class views_plugin_query extends views_p
37    /**    /**
38     * Executes the query and fills the associated view object with according     * Executes the query and fills the associated view object with according
39     * values.     * values.
40     *     *
41     * Values to set: $view->result, $view->total_rows, $view->execute_time,     * Values to set: $view->result, $view->total_rows, $view->execute_time,
42     * $view->pager['current_page'].     * $view->pager['current_page'].
43     */     */
# Line 50  class views_plugin_query extends views_p Line 50  class views_plugin_query extends views_p
50     * discern where particular queries might be coming from.     * discern where particular queries might be coming from.
51     */     */
52    function add_signature(&$view) { }    function add_signature(&$view) { }
53    
54      /**
55       * Get aggregation info for group by queries.
56       *
57       * If NULL, aggregation is not allowed.
58       */
59      function get_aggregation_info() { }
60  }  }

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.3