',
diff --git a/handlers/views_handler_filter_boolean_operator.inc b/handlers/views_handler_filter_boolean_operator.inc
index 48a7ab2..78c2f53 100644
--- a/handlers/views_handler_filter_boolean_operator.inc
+++ b/handlers/views_handler_filter_boolean_operator.inc
@@ -143,7 +143,7 @@ class views_handler_filter_boolean_operator extends views_handler_filter {
$this->options['expose']['optional'] = FALSE;
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$where = "$this->table_alias.$this->real_field ";
diff --git a/handlers/views_handler_filter_boolean_operator_string.inc b/handlers/views_handler_filter_boolean_operator_string.inc
index b27cae4..58c0cc9 100644
--- a/handlers/views_handler_filter_boolean_operator_string.inc
+++ b/handlers/views_handler_filter_boolean_operator_string.inc
@@ -11,7 +11,7 @@
* @ingroup views_filter_handlers
*/
class views_handler_filter_boolean_operator_string extends views_handler_filter_boolean_operator {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$where = "$this->table_alias.$this->real_field ";
diff --git a/handlers/views_handler_filter_group_by_numeric.inc b/handlers/views_handler_filter_group_by_numeric.inc
index 709dacd..57e88f9 100644
--- a/handlers/views_handler_filter_group_by_numeric.inc
+++ b/handlers/views_handler_filter_group_by_numeric.inc
@@ -6,7 +6,7 @@
* @ingroup views_filter_handlers
*/
class views_handler_filter_group_by_numeric extends views_handler_filter_numeric {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$field = $this->get_field();
diff --git a/handlers/views_handler_filter_in_operator.inc b/handlers/views_handler_filter_in_operator.inc
index 5d177ed..4ae5490 100644
--- a/handlers/views_handler_filter_in_operator.inc
+++ b/handlers/views_handler_filter_in_operator.inc
@@ -352,7 +352,7 @@ class views_handler_filter_in_operator extends views_handler_filter {
return $operator . (($values !== '') ? ' ' . $values : '');
}
- function query() {
+ function query($group_by = FALSE) {
$info = $this->operators();
if (!empty($info[$this->operator]['method'])) {
$this->{$info[$this->operator]['method']}();
diff --git a/handlers/views_handler_filter_numeric.inc b/handlers/views_handler_filter_numeric.inc
index 44e6ece..801aa08 100644
--- a/handlers/views_handler_filter_numeric.inc
+++ b/handlers/views_handler_filter_numeric.inc
@@ -255,7 +255,7 @@ class views_handler_filter_numeric extends views_handler_filter {
}
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$field = "$this->table_alias.$this->real_field";
diff --git a/handlers/views_handler_filter_string.inc b/handlers/views_handler_filter_string.inc
index 9d1526c..3841254 100644
--- a/handlers/views_handler_filter_string.inc
+++ b/handlers/views_handler_filter_string.inc
@@ -229,7 +229,7 @@ class views_handler_filter_string extends views_handler_filter {
* level of indirection. You will find them in $this->operator
* and $this->value respectively.
*/
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$field = "$this->table_alias.$this->real_field";
$upper = $this->case_transform();
diff --git a/handlers/views_handler_relationship.inc b/handlers/views_handler_relationship.inc
index 009b472..337741f 100644
--- a/handlers/views_handler_relationship.inc
+++ b/handlers/views_handler_relationship.inc
@@ -102,7 +102,7 @@ class views_handler_relationship extends views_handler {
/**
* Called to implement a relationship in a query.
*/
- function query() {
+ function query($group_by = FALSE) {
// Figure out what base table this relationship brings to the party.
$table_data = views_fetch_data($this->definition['base']);
$base_field = empty($this->definition['base field']) ? $table_data['table']['base']['field'] : $this->definition['base field'];
@@ -159,7 +159,7 @@ class views_handler_relationship_broken extends views_handler_relationship {
}
function ensure_my_table() { /* No table to ensure! */ }
- function query() { /* No query to run */ }
+ function query($group_by = FALSE) { /* No query to run */ }
function options_form(&$form, &$form_state) {
$form['markup'] = array(
'#prefix' => '
',
diff --git a/handlers/views_handler_sort.inc b/handlers/views_handler_sort.inc
index d703b5e..cf73779 100644
--- a/handlers/views_handler_sort.inc
+++ b/handlers/views_handler_sort.inc
@@ -18,7 +18,7 @@ class views_handler_sort extends views_handler {
/**
* Called to add the sort to a query.
*/
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
// Add the field.
$this->query->add_orderby($this->table_alias, $this->real_field, $this->options['order']);
@@ -76,7 +76,7 @@ class views_handler_sort extends views_handler {
/**
* Simple validate handler
*/
- function options_validate(&$form, &$form_state) {
+ function options_validate($form, &$form_state) {
$this->sort_validate($form, $form_state);
if (!empty($this->options['exposed'])) {
$this->expose_validate($form, $form_state);
@@ -87,7 +87,7 @@ class views_handler_sort extends views_handler {
/**
* Simple submit handler
*/
- function options_submit(&$form, &$form_state) {
+ function options_submit($form, &$form_state) {
unset($form_state['values']['expose_button']); // don't store this.
$this->sort_submit($form, $form_state);
if (!empty($this->options['exposed'])) {
@@ -175,7 +175,7 @@ class views_handler_sort_broken extends views_handler_sort {
}
function ensure_my_table() { /* No table to ensure! */ }
- function query() { /* No query to run */ }
+ function query($group_by = FALSE) { /* No query to run */ }
function options_form(&$form, &$form_state) {
$form['markup'] = array(
'#prefix' => '
',
diff --git a/handlers/views_handler_sort_date.inc b/handlers/views_handler_sort_date.inc
index 8101482..e1c4bb0 100644
--- a/handlers/views_handler_sort_date.inc
+++ b/handlers/views_handler_sort_date.inc
@@ -39,7 +39,7 @@ class views_handler_sort_date extends views_handler_sort {
/**
* Called to add the sort to a query.
*/
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
switch ($this->options['granularity']) {
case 'second':
diff --git a/handlers/views_handler_sort_formula.inc b/handlers/views_handler_sort_formula.inc
index 30a6451..714798a 100644
--- a/handlers/views_handler_sort_formula.inc
+++ b/handlers/views_handler_sort_formula.inc
@@ -27,7 +27,7 @@ class views_handler_sort_formula extends views_handler_sort {
/**
* Called to add the sort to a query.
*/
- function query() {
+ function query($group_by = FALSE) {
if (is_array($this->formula)) {
global $db_type;
if (isset($this->formula[$db_type])) {
diff --git a/handlers/views_handler_sort_group_by_numeric.inc b/handlers/views_handler_sort_group_by_numeric.inc
index 8081fc6..076b3af 100644
--- a/handlers/views_handler_sort_group_by_numeric.inc
+++ b/handlers/views_handler_sort_group_by_numeric.inc
@@ -16,7 +16,7 @@ class views_handler_sort_group_by_numeric extends views_handler_sort {
/**
* Called to add the field to a query.
*/
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$params = array(
diff --git a/handlers/views_handler_sort_menu_hierarchy.inc b/handlers/views_handler_sort_menu_hierarchy.inc
index 39c6d3e..8f9978c 100644
--- a/handlers/views_handler_sort_menu_hierarchy.inc
+++ b/handlers/views_handler_sort_menu_hierarchy.inc
@@ -28,7 +28,7 @@ class views_handler_sort_menu_hierarchy extends views_handler_sort {
);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$max_depth = isset($this->definition['max depth']) ? $this->definition['max depth'] : MENU_MAX_DEPTH;
for ($i = 1; $i <= $max_depth; ++$i) {
diff --git a/handlers/views_handler_sort_random.inc b/handlers/views_handler_sort_random.inc
index 2a497d7..f8ba39b 100644
--- a/handlers/views_handler_sort_random.inc
+++ b/handlers/views_handler_sort_random.inc
@@ -6,7 +6,7 @@
* @ingroup views_sort_handlers
*/
class views_handler_sort_random extends views_handler_sort {
- function query() {
+ function query($group_by = FALSE) {
global $db_type;
switch ($db_type) {
case 'mysql':
diff --git a/includes/plugins.inc b/includes/plugins.inc
index c636e27..4e7ad75 100644
--- a/includes/plugins.inc
+++ b/includes/plugins.inc
@@ -488,7 +488,7 @@ class views_plugin extends views_object {
/**
* Validate the options form.
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Handle any special handling on the validate form.
@@ -498,7 +498,7 @@ class views_plugin extends views_object {
/**
* Add anything to the query that we might need to.
*/
- function query() { }
+ function query($group_by = FALSE) { }
/**
* Provide a full list of possible theme templates used by this style.
diff --git a/includes/view.inc b/includes/view.inc
index c7f7fe8..415b991 100644
--- a/includes/view.inc
+++ b/includes/view.inc
@@ -1203,7 +1203,7 @@ class view extends views_db_object {
/**
* Unset the current view, mostly.
*/
- function post_execute() {
+ function post_execute(&$result = array()) {
// unset current view so we can be properly destructed later on.
// Return the previous value in case we're an attachment.
diff --git a/modules/comment/views_handler_argument_comment_user_uid.inc b/modules/comment/views_handler_argument_comment_user_uid.inc
index e953b2e..04b1dec 100644
--- a/modules/comment/views_handler_argument_comment_user_uid.inc
+++ b/modules/comment/views_handler_argument_comment_user_uid.inc
@@ -35,7 +35,7 @@ class views_handler_argument_comment_user_uid extends views_handler_argument {
}
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->query->add_where(0, "$this->table_alias.uid = %d OR ((SELECT COUNT(*) FROM {comments} c WHERE c.uid = %d AND c.nid = $this->table_alias.nid) > 0)", $this->argument, $this->argument);
}
diff --git a/modules/comment/views_handler_field_comment_link.inc b/modules/comment/views_handler_field_comment_link.inc
index 34075c7..b8231cc 100644
--- a/modules/comment/views_handler_field_comment_link.inc
+++ b/modules/comment/views_handler_field_comment_link.inc
@@ -26,7 +26,7 @@ class views_handler_field_comment_link extends views_handler_field {
);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/comment/views_handler_field_comment_node_link.inc b/modules/comment/views_handler_field_comment_node_link.inc
index f64b020..e3e51e0 100644
--- a/modules/comment/views_handler_field_comment_node_link.inc
+++ b/modules/comment/views_handler_field_comment_node_link.inc
@@ -38,7 +38,7 @@ class views_handler_field_comment_node_link extends views_handler_field {
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/comment/views_handler_field_ncs_last_comment_name.inc b/modules/comment/views_handler_field_ncs_last_comment_name.inc
index 84a72c8..7af74d2 100644
--- a/modules/comment/views_handler_field_ncs_last_comment_name.inc
+++ b/modules/comment/views_handler_field_ncs_last_comment_name.inc
@@ -6,7 +6,7 @@
* @ingroup views_field_handlers
*/
class views_handler_field_ncs_last_comment_name extends views_handler_field {
- function query() {
+ function query($group_by = FALSE) {
// last_comment_name only contains data if the user is anonymous. So we
// have to join in a specially related user table.
$this->ensure_my_table();
diff --git a/modules/comment/views_handler_field_ncs_last_updated.inc b/modules/comment/views_handler_field_ncs_last_updated.inc
index 3950ffb..05e66ab 100644
--- a/modules/comment/views_handler_field_ncs_last_updated.inc
+++ b/modules/comment/views_handler_field_ncs_last_updated.inc
@@ -5,7 +5,7 @@
* @ingroup views_field_handlers
*/
class views_handler_field_ncs_last_updated extends views_handler_field_date {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->node_table = $this->query->ensure_table('node', $this->relationship);
$this->field_alias = $this->query->add_field(NULL, "GREATEST(" . $this->node_table . ".changed, " . $this->table_alias . ".last_comment_timestamp)", $this->table_alias . '_' . $this->field);
diff --git a/modules/comment/views_handler_field_node_new_comments.inc b/modules/comment/views_handler_field_node_new_comments.inc
index 9917698..a00013a 100644
--- a/modules/comment/views_handler_field_node_new_comments.inc
+++ b/modules/comment/views_handler_field_node_new_comments.inc
@@ -41,7 +41,7 @@ class views_handler_field_node_new_comments extends views_handler_field_numeric
);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
$this->field_alias = $this->table . '_' . $this->field;
diff --git a/modules/comment/views_handler_filter_comment_user_uid.inc b/modules/comment/views_handler_filter_comment_user_uid.inc
index 8959e13..fc6133b 100644
--- a/modules/comment/views_handler_filter_comment_user_uid.inc
+++ b/modules/comment/views_handler_filter_comment_user_uid.inc
@@ -7,7 +7,7 @@
* @ingroup views_filter_handlers
*/
class views_handler_filter_comment_user_uid extends views_handler_filter_user_name {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$replace = array_fill(0, sizeof($this->value), '%d');
$condition = $this->operator . ' (' . implode(", ", $replace) . ')';
diff --git a/modules/comment/views_handler_filter_ncs_last_updated.inc b/modules/comment/views_handler_filter_ncs_last_updated.inc
index 3818db9..34cf1f9 100644
--- a/modules/comment/views_handler_filter_ncs_last_updated.inc
+++ b/modules/comment/views_handler_filter_ncs_last_updated.inc
@@ -5,7 +5,7 @@
* @ingroup views_filter_handlers
*/
class views_handler_filter_ncs_last_updated extends views_handler_filter_date {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->node_table = $this->query->ensure_table('node', $this->relationship);
diff --git a/modules/comment/views_handler_sort_comment_thread.inc b/modules/comment/views_handler_sort_comment_thread.inc
index e529b2a..9a7438e 100644
--- a/modules/comment/views_handler_sort_comment_thread.inc
+++ b/modules/comment/views_handler_sort_comment_thread.inc
@@ -3,7 +3,7 @@
* Sort handler for ordering by thread
*/
class views_handler_sort_comment_thread extends views_handler_sort {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
//Read comment_render() in comment.module for an explanation of the
diff --git a/modules/comment/views_handler_sort_ncs_last_comment_name.inc b/modules/comment/views_handler_sort_ncs_last_comment_name.inc
index 8eca177..d97b23f 100644
--- a/modules/comment/views_handler_sort_ncs_last_comment_name.inc
+++ b/modules/comment/views_handler_sort_ncs_last_comment_name.inc
@@ -6,7 +6,7 @@
* @ingroup views_sort_handlers
*/
class views_handler_sort_ncs_last_comment_name extends views_handler_sort {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$join = new views_join();
$join->construct('users', $this->table_alias, 'last_comment_uid', 'uid');
diff --git a/modules/comment/views_handler_sort_ncs_last_updated.inc b/modules/comment/views_handler_sort_ncs_last_updated.inc
index 04b01a1..e402b62 100644
--- a/modules/comment/views_handler_sort_ncs_last_updated.inc
+++ b/modules/comment/views_handler_sort_ncs_last_updated.inc
@@ -5,7 +5,7 @@
* @ingroup views_sort_handlers
*/
class views_handler_sort_ncs_last_updated extends views_handler_sort_date {
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->node_table = $this->query->ensure_table('node', $this->relationship);
$this->field_alias = $this->query->add_orderby(NULL, "GREATEST(" . $this->node_table . ".changed, " . $this->table_alias . ".last_comment_timestamp)", $this->options['order'], $this->table_alias . '_' . $this->field);
diff --git a/modules/comment/views_plugin_row_comment_view.inc b/modules/comment/views_plugin_row_comment_view.inc
index 5541e4c..38645df 100644
--- a/modules/comment/views_plugin_row_comment_view.inc
+++ b/modules/comment/views_plugin_row_comment_view.inc
@@ -25,11 +25,11 @@ class views_plugin_row_comment_view extends views_plugin_row {
);
}
- function pre_render($result) {
+ function pre_render(&$values) {
$cids = array();
$this->comments = array();
- foreach ($result as $row) {
+ foreach ($values as $row) {
$cids[] = $row->cid;
}
diff --git a/modules/filter/views_handler_field_filter_format_name.inc b/modules/filter/views_handler_field_filter_format_name.inc
index 48070de..fd0268c 100644
--- a/modules/filter/views_handler_field_filter_format_name.inc
+++ b/modules/filter/views_handler_field_filter_format_name.inc
@@ -11,7 +11,7 @@ class views_handler_field_filter_format_name extends views_handler_field {
$this->additional_fields['name'] = array('table' => 'filter_formats', 'field' => 'name');
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/locale/views_handler_field_locale_link_edit.inc b/modules/locale/views_handler_field_locale_link_edit.inc
index 5466446..23ce216 100644
--- a/modules/locale/views_handler_field_locale_link_edit.inc
+++ b/modules/locale/views_handler_field_locale_link_edit.inc
@@ -28,7 +28,7 @@ class views_handler_field_locale_link_edit extends views_handler_field {
);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/node/views_handler_field_history_user_timestamp.inc b/modules/node/views_handler_field_history_user_timestamp.inc
index 8286c4f..bf6b741 100644
--- a/modules/node/views_handler_field_history_user_timestamp.inc
+++ b/modules/node/views_handler_field_history_user_timestamp.inc
@@ -36,7 +36,7 @@ class views_handler_field_history_user_timestamp extends views_handler_field_nod
}
}
- function query() {
+ function query($group_by = FALSE) {
// Only add ourselves to the query if logged in.
global $user;
if (!$user->uid) {
diff --git a/modules/node/views_handler_field_node_link.inc b/modules/node/views_handler_field_node_link.inc
index 4f28ef3..f8a9a60 100644
--- a/modules/node/views_handler_field_node_link.inc
+++ b/modules/node/views_handler_field_node_link.inc
@@ -31,7 +31,7 @@ class views_handler_field_node_link extends views_handler_field {
$form['alter']['external'] = array('#access' => FALSE);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/node/views_handler_field_node_path.inc b/modules/node/views_handler_field_node_path.inc
index de7dc9b..8dfc8a3 100644
--- a/modules/node/views_handler_field_node_path.inc
+++ b/modules/node/views_handler_field_node_path.inc
@@ -29,7 +29,7 @@ class views_handler_field_node_path extends views_handler_field {
);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/node/views_handler_filter_history_user_timestamp.inc b/modules/node/views_handler_filter_history_user_timestamp.inc
index d8b1b53..f69e1a7 100644
--- a/modules/node/views_handler_filter_history_user_timestamp.inc
+++ b/modules/node/views_handler_filter_history_user_timestamp.inc
@@ -31,7 +31,7 @@ class views_handler_filter_history_user_timestamp extends views_handler_filter {
}
}
- function query() {
+ function query($group_by = FALSE) {
global $user;
// This can only work if we're logged in.
if (!$user || !$user->uid) {
diff --git a/modules/node/views_handler_filter_node_access.inc b/modules/node/views_handler_filter_node_access.inc
index e9bc675..6d45a38 100644
--- a/modules/node/views_handler_filter_node_access.inc
+++ b/modules/node/views_handler_filter_node_access.inc
@@ -14,7 +14,7 @@ class views_handler_filter_node_access extends views_handler_filter {
/**
* See _node_access_where_sql() for a non-views query based implementation.
*/
- function query() {
+ function query($group_by = FALSE) {
if (!user_access('administer nodes')) {
$table = $this->ensure_my_table();
$grants = array();
diff --git a/modules/node/views_handler_filter_node_status.inc b/modules/node/views_handler_filter_node_status.inc
index e4a5585..8f536b2 100644
--- a/modules/node/views_handler_filter_node_status.inc
+++ b/modules/node/views_handler_filter_node_status.inc
@@ -8,7 +8,7 @@ class views_handler_filter_node_status extends views_handler_filter {
function admin_summary() { }
function operator_form(&$form, &$form_state) { }
- function query() {
+ function query($group_by = FALSE) {
$table = $this->ensure_my_table();
$this->query->add_where($this->options['group'], "$table.status = 1 OR ($table.uid = ***CURRENT_USER*** AND ***CURRENT_USER*** <> 0) OR ***ADMINISTER_NODES*** = 1");
}
diff --git a/modules/node/views_plugin_argument_validate_node.inc b/modules/node/views_plugin_argument_validate_node.inc
index 723c5ef..09e029e 100644
--- a/modules/node/views_plugin_argument_validate_node.inc
+++ b/modules/node/views_plugin_argument_validate_node.inc
@@ -55,7 +55,7 @@ class views_plugin_argument_validate_node extends views_plugin_argument_validate
);
}
- function options_submit(&$form, &$form_state, &$options = array()) {
+ function options_submit($form, &$form_state, &$options = array()) {
// filter trash out of the options so we don't store giant unnecessary arrays
$options['types'] = array_filter($options['types']);
}
diff --git a/modules/search/views_handler_argument_search.inc b/modules/search/views_handler_argument_search.inc
index 2be8e4d..5072b2a 100644
--- a/modules/search/views_handler_argument_search.inc
+++ b/modules/search/views_handler_argument_search.inc
@@ -10,7 +10,7 @@ class views_handler_argument_search extends views_handler_argument {
/**
* Add this argument to the query.
*/
- function query() {
+ function query($group_by = FALSE) {
$this->search_query = search_parse_query($this->argument);
if (!isset($this->search_query) || empty($this->search_query[3])) {
diff --git a/modules/search/views_handler_field_search_score.inc b/modules/search/views_handler_field_search_score.inc
index 8203ece..1dbeceb 100644
--- a/modules/search/views_handler_field_search_score.inc
+++ b/modules/search/views_handler_field_search_score.inc
@@ -43,7 +43,7 @@ class views_handler_field_search_score extends views_handler_field_numeric {
parent::options_form($form, $form_state);
}
- function query() {
+ function query($group_by = FALSE) {
// Check to see if the search filter added 'score' to the table.
// Our filter stores it as $handler->search_score -- and we also
// need to check its relationship to make sure that we're using the same
diff --git a/modules/search/views_handler_filter_search.inc b/modules/search/views_handler_filter_search.inc
index 2bf321a..59edf6c 100644
--- a/modules/search/views_handler_filter_search.inc
+++ b/modules/search/views_handler_filter_search.inc
@@ -75,7 +75,7 @@ class views_handler_filter_search extends views_handler_filter {
* level of indirection. You will find them in $this->operator
* and $this->value respectively.
*/
- function query() {
+ function query($group_by = FALSE) {
if (!isset($this->search_query) || empty($this->search_query[3])) {
if ($this->operator == 'required') {
$this->query->add_where($this->options['group'], 'FALSE');
diff --git a/modules/search/views_handler_sort_search_score.inc b/modules/search/views_handler_sort_search_score.inc
index 614d83a..addbff8 100644
--- a/modules/search/views_handler_sort_search_score.inc
+++ b/modules/search/views_handler_sort_search_score.inc
@@ -6,7 +6,7 @@
* @ingroup views_sort_handlers
*/
class views_handler_sort_search_score extends views_handler_sort {
- function query() {
+ function query($group_by = FALSE) {
// Check to see if the search filter/argument added 'score' to the table.
// Our filter stores it as $handler->search_score -- and we also
// need to check its relationship to make sure that we're using the same
diff --git a/modules/taxonomy/views_handler_argument_term_node_tid_depth.inc b/modules/taxonomy/views_handler_argument_term_node_tid_depth.inc
index 1eafe71..6b69099 100644
--- a/modules/taxonomy/views_handler_argument_term_node_tid_depth.inc
+++ b/modules/taxonomy/views_handler_argument_term_node_tid_depth.inc
@@ -78,7 +78,7 @@ class views_handler_argument_term_node_tid_depth extends views_handler_argument
return $actions;
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
if (!empty($this->options['break_phrase'])) {
diff --git a/modules/taxonomy/views_handler_argument_term_node_tid_depth_modifier.inc b/modules/taxonomy/views_handler_argument_term_node_tid_depth_modifier.inc
index 5743dd5..da71796 100644
--- a/modules/taxonomy/views_handler_argument_term_node_tid_depth_modifier.inc
+++ b/modules/taxonomy/views_handler_argument_term_node_tid_depth_modifier.inc
@@ -10,7 +10,7 @@
*/
class views_handler_argument_term_node_tid_depth_modifier extends views_handler_argument {
function options_form(&$form, &$form_state) { }
- function query() { }
+ function query($group_by = FALSE) { }
function pre_query() {
// We don't know our argument yet, but it's based upon our position:
$argument = isset($this->view->args[$this->position]) ? $this->view->args[$this->position] : NULL;
diff --git a/modules/taxonomy/views_handler_field_term_link_edit.inc b/modules/taxonomy/views_handler_field_term_link_edit.inc
index a727356..218932e 100644
--- a/modules/taxonomy/views_handler_field_term_link_edit.inc
+++ b/modules/taxonomy/views_handler_field_term_link_edit.inc
@@ -28,7 +28,7 @@ class views_handler_field_term_link_edit extends views_handler_field {
);
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/taxonomy/views_handler_field_term_node_tid.inc b/modules/taxonomy/views_handler_field_term_node_tid.inc
index 4256a47..c5b8923 100644
--- a/modules/taxonomy/views_handler_field_term_node_tid.inc
+++ b/modules/taxonomy/views_handler_field_term_node_tid.inc
@@ -64,7 +64,7 @@ class views_handler_field_term_node_tid extends views_handler_field_prerender_li
/**
* Add this term to the query
*/
- function query() {
+ function query($group_by = FALSE) {
$this->add_additional_fields();
}
diff --git a/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc b/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc
index f9e1a89..80c2d52 100644
--- a/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc
+++ b/modules/taxonomy/views_handler_filter_term_node_tid_depth.inc
@@ -33,7 +33,7 @@ class views_handler_filter_term_node_tid_depth extends views_handler_filter_term
);
}
- function query() {
+ function query($group_by = FALSE) {
// If no filter values are present, then do nothing.
if (count($this->value) == 0) {
return;
diff --git a/modules/taxonomy/views_handler_relationship_node_term_data.inc b/modules/taxonomy/views_handler_relationship_node_term_data.inc
index 30998c6..daf4877 100644
--- a/modules/taxonomy/views_handler_relationship_node_term_data.inc
+++ b/modules/taxonomy/views_handler_relationship_node_term_data.inc
@@ -41,7 +41,7 @@ class views_handler_relationship_node_term_data extends views_handler_relationsh
/**
* Called to implement a relationship in a query.
*/
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$def = $this->definition;
diff --git a/modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc b/modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
index 6356398..af31330 100644
--- a/modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
+++ b/modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
@@ -70,7 +70,7 @@ class views_plugin_argument_default_taxonomy_tid extends views_plugin_argument_d
);
}
- function options_submit(&$form, &$form_state, &$options) {
+ function options_submit($form, &$form_state, &$options) {
// Clear checkbox values.
$options['vids'] = array_filter($options['vids']);
}
diff --git a/modules/translation/views_handler_field_node_translation_link.inc b/modules/translation/views_handler_field_node_translation_link.inc
index 537ba60..cefc355 100644
--- a/modules/translation/views_handler_field_node_translation_link.inc
+++ b/modules/translation/views_handler_field_node_translation_link.inc
@@ -13,7 +13,7 @@ class views_handler_field_node_translation_link extends views_handler_field {
$this->additional_fields['language'] = 'language';
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/translation/views_handler_filter_node_tnid.inc b/modules/translation/views_handler_filter_node_tnid.inc
index e96fe26..b6b9a01 100644
--- a/modules/translation/views_handler_filter_node_tnid.inc
+++ b/modules/translation/views_handler_filter_node_tnid.inc
@@ -31,7 +31,7 @@ class views_handler_filter_node_tnid extends views_handler_filter {
function can_expose() { return FALSE; }
- function query() {
+ function query($group_by = FALSE) {
$table = $this->ensure_my_table();
// Select for source translations (tnid = nid). Conditionally, also accept either untranslated nodes (tnid = 0).
$this->query->add_where($this->options['group'], "$table.tnid = $table.nid" . ($this->operator ? " OR $table.tnid = 0" : ''));
diff --git a/modules/translation/views_handler_filter_node_tnid_child.inc b/modules/translation/views_handler_filter_node_tnid_child.inc
index 593913e..781c168 100644
--- a/modules/translation/views_handler_filter_node_tnid_child.inc
+++ b/modules/translation/views_handler_filter_node_tnid_child.inc
@@ -9,7 +9,7 @@ class views_handler_filter_node_tnid_child extends views_handler_filter {
function operator_form(&$form, &$form_state) { }
function can_expose() { return FALSE; }
- function query() {
+ function query($group_by = FALSE) {
$table = $this->ensure_my_table();
$this->query->add_where($this->options['group'], "$table.tnid <> $table.nid AND $table.tnid > 0");
}
diff --git a/modules/translation/views_handler_relationship_translation.inc b/modules/translation/views_handler_relationship_translation.inc
index 785b0d9..0d76404 100644
--- a/modules/translation/views_handler_relationship_translation.inc
+++ b/modules/translation/views_handler_relationship_translation.inc
@@ -38,7 +38,7 @@ class views_handler_relationship_translation extends views_handler_relationship
/**
* Called to implement a relationship in a query.
*/
- function query() {
+ function query($group_by = FALSE) {
// Figure out what base table this relationship brings to the party.
$table_data = views_fetch_data($this->definition['base']);
$base_field = empty($this->definition['base field']) ? $table_data['table']['base']['field'] : $this->definition['base field'];
diff --git a/modules/upload/views_handler_filter_upload_fid.inc b/modules/upload/views_handler_filter_upload_fid.inc
index 4743b5c..808fc62 100644
--- a/modules/upload/views_handler_filter_upload_fid.inc
+++ b/modules/upload/views_handler_filter_upload_fid.inc
@@ -9,7 +9,7 @@ class views_handler_filter_upload_fid extends views_handler_filter_boolean_opera
$this->value_value = t('Has attached files');
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->query->add_where($this->options['group'], "(SELECT COUNT(*) FROM {upload} u WHERE u.vid = $this->table_alias.$this->real_field) " . (empty($this->value) ? '=' : '<>') . " 0");
}
diff --git a/modules/user/views_handler_field_user_link.inc b/modules/user/views_handler_field_user_link.inc
index 7ed8bc1..dec157d 100644
--- a/modules/user/views_handler_field_user_link.inc
+++ b/modules/user/views_handler_field_user_link.inc
@@ -30,7 +30,7 @@ class views_handler_field_user_link extends views_handler_field {
return user_access('access user profiles');
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$this->add_additional_fields();
}
diff --git a/modules/user/views_handler_field_user_roles.inc b/modules/user/views_handler_field_user_roles.inc
index 6c5beeb..5634a76 100644
--- a/modules/user/views_handler_field_user_roles.inc
+++ b/modules/user/views_handler_field_user_roles.inc
@@ -10,7 +10,7 @@ class views_handler_field_user_roles extends views_handler_field_prerender_list
$this->additional_fields['uid'] = array('table' => 'users', 'field' => 'uid');
}
- function query() {
+ function query($group_by = FALSE) {
$this->add_additional_fields();
$this->field_alias = $this->aliases['uid'];
}
diff --git a/modules/user/views_handler_filter_user_current.inc b/modules/user/views_handler_filter_user_current.inc
index c5d0c56..7a9e93f 100644
--- a/modules/user/views_handler_filter_user_current.inc
+++ b/modules/user/views_handler_filter_user_current.inc
@@ -11,7 +11,7 @@ class views_handler_filter_user_current extends views_handler_filter_boolean_ope
$this->value_value = t('Is the logged in user');
}
- function query() {
+ function query($group_by = FALSE) {
$this->ensure_my_table();
$where = "$this->table_alias.$this->real_field ";
diff --git a/plugins/views_plugin_access.inc b/plugins/views_plugin_access.inc
index e2518db..cc8e80d 100644
--- a/plugins/views_plugin_access.inc
+++ b/plugins/views_plugin_access.inc
@@ -39,7 +39,7 @@ class views_plugin_access extends views_plugin {
/**
* Provide the default form form for validating options
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Provide the default form form for submitting options
diff --git a/plugins/views_plugin_access_role.inc b/plugins/views_plugin_access_role.inc
index ed42cba..6a54f36 100644
--- a/plugins/views_plugin_access_role.inc
+++ b/plugins/views_plugin_access_role.inc
@@ -45,13 +45,13 @@ class views_plugin_access_role extends views_plugin_access {
);
}
- function options_validate(&$form, &$form_state) {
+ function options_validate($form, &$form_state) {
if (!array_filter($form_state['values']['access_options']['role'])) {
form_error($form['role'], t('You must select at least one role if type is "by role"'));
}
}
- function options_submit(&$form, &$form_state) {
+ function options_submit($form, &$form_state) {
// I hate checkboxes.
$form_state['values']['access_options']['role'] = array_filter($form_state['values']['access_options']['role']);
}
diff --git a/plugins/views_plugin_argument_default.inc b/plugins/views_plugin_argument_default.inc
index 6c5e65f..ed2b2b1 100644
--- a/plugins/views_plugin_argument_default.inc
+++ b/plugins/views_plugin_argument_default.inc
@@ -51,7 +51,7 @@ class views_plugin_argument_default extends views_plugin {
/**
* Provide the default form form for validating options
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Provide the default form form for submitting options
diff --git a/plugins/views_plugin_argument_validate.inc b/plugins/views_plugin_argument_validate.inc
index 5e019a3..4730e43 100644
--- a/plugins/views_plugin_argument_validate.inc
+++ b/plugins/views_plugin_argument_validate.inc
@@ -46,12 +46,12 @@ class views_plugin_argument_validate extends views_plugin {
/**
* Provide the default form form for validating options
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Provide the default form form for submitting options
*/
- function options_submit(&$form, &$form_state) { }
+ function options_submit($form, &$form_state) { }
/**
* Convert options from the older style.
diff --git a/plugins/views_plugin_display.inc b/plugins/views_plugin_display.inc
index 9ad2c99..1510336 100644
--- a/plugins/views_plugin_display.inc
+++ b/plugins/views_plugin_display.inc
@@ -1975,7 +1975,7 @@ class views_plugin_display extends views_plugin {
/**
* Validate the options form.
*/
- function options_validate(&$form, &$form_state) {
+ function options_validate($form, &$form_state) {
switch ($form_state['section']) {
case 'display_title':
if (empty($form_state['values']['display_title'])) {
@@ -2323,7 +2323,7 @@ class views_plugin_display extends views_plugin {
/**
* Inject anything into the query that the display handler needs.
*/
- function query() {
+ function query($group_by = FALSE) {
foreach ($this->extender as $extender) {
$extender->query();
}
diff --git a/plugins/views_plugin_display_attachment.inc b/plugins/views_plugin_display_attachment.inc
index b251ab8..4801597 100644
--- a/plugins/views_plugin_display_attachment.inc
+++ b/plugins/views_plugin_display_attachment.inc
@@ -14,7 +14,7 @@
* @ingroup views_display_plugins
*/
class views_plugin_display_attachment extends views_plugin_display {
- function option_definition () {
+ function option_definition() {
$options = parent::option_definition();
$options['attachment_position'] = array('default' => 'before');
diff --git a/plugins/views_plugin_display_extender.inc b/plugins/views_plugin_display_extender.inc
index c2cc488..9718940 100644
--- a/plugins/views_plugin_display_extender.inc
+++ b/plugins/views_plugin_display_extender.inc
@@ -22,12 +22,12 @@ class views_plugin_display_extender extends views_plugin {
/**
* Validate the options form.
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Handle any special handling on the validate form.
*/
- function options_submit(&$form, &$form_state) { }
+ function options_submit($form, &$form_state) { }
/**
* Set up any variables on the view prior to execution.
@@ -37,7 +37,7 @@ class views_plugin_display_extender extends views_plugin {
/**
* Inject anything into the query that the display_extender handler needs.
*/
- function query() { }
+ function query($group_by = FALSE) { }
/**
* Provide the default summary for options in the views UI.
diff --git a/plugins/views_plugin_display_page.inc b/plugins/views_plugin_display_page.inc
index 1eecacb..f740274 100644
--- a/plugins/views_plugin_display_page.inc
+++ b/plugins/views_plugin_display_page.inc
@@ -463,7 +463,7 @@ class views_plugin_display_page extends views_plugin_display {
}
}
- function options_validate(&$form, &$form_state) {
+ function options_validate($form, &$form_state) {
// It is very important to call the parent function here:
parent::options_validate($form, $form_state);
switch ($form_state['section']) {
diff --git a/plugins/views_plugin_exposed_form.inc b/plugins/views_plugin_exposed_form.inc
index ce9a8ef..88eecb4 100644
--- a/plugins/views_plugin_exposed_form.inc
+++ b/plugins/views_plugin_exposed_form.inc
@@ -158,7 +158,7 @@ class views_plugin_exposed_form extends views_plugin {
}
}
- function query() {
+ function query($group_by = FALSE) {
$view = $this->view;
$exposed_data = $view->exposed_data;
if (!empty($exposed_data['sort_by'])) {
diff --git a/plugins/views_plugin_exposed_form_input_required.inc b/plugins/views_plugin_exposed_form_input_required.inc
index 974b288..2110a25 100644
--- a/plugins/views_plugin_exposed_form_input_required.inc
+++ b/plugins/views_plugin_exposed_form_input_required.inc
@@ -78,7 +78,7 @@ class views_plugin_exposed_form_input_required extends views_plugin_exposed_form
}
}
- function query() {
+ function query($group_by = FALSE) {
if (!$this->exposed_filter_applied()) {
// We return with no query; this will force the empty text.
$this->view->built = TRUE;
diff --git a/plugins/views_plugin_pager.inc b/plugins/views_plugin_pager.inc
index 1131bb4..2aeb3a3 100644
--- a/plugins/views_plugin_pager.inc
+++ b/plugins/views_plugin_pager.inc
@@ -99,7 +99,7 @@ class views_plugin_pager extends views_plugin {
/**
* Provide the default form form for validating options
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Provide the default form form for submitting options
@@ -160,7 +160,7 @@ class views_plugin_pager extends views_plugin {
*
* This is called during the build phase and can directly modify the query.
*/
- function query() { }
+ function query($group_by = FALSE) { }
/**
* Perform any needed actions just prior to the query executing.
@@ -170,12 +170,12 @@ class views_plugin_pager extends views_plugin {
/**
* Perform any needed actions just after the query executing.
*/
- function post_execute(&$result) { }
+ function post_execute(&$result = array()) { }
/**
* Perform any needed actions just before rendering.
*/
- function pre_render(&$result) { }
+ function pre_render(&$values) { }
/**
* Render the pager.
diff --git a/plugins/views_plugin_pager_full.inc b/plugins/views_plugin_pager_full.inc
index f97c6a4..5cbfdaa 100644
--- a/plugins/views_plugin_pager_full.inc
+++ b/plugins/views_plugin_pager_full.inc
@@ -146,7 +146,7 @@ class views_plugin_pager_full extends views_plugin_pager {
);
}
- function options_validate(&$form, &$form_state) {
+ function options_validate($form, &$form_state) {
// Only accept integer values.
$error = FALSE;
$exposed_options = $form_state['values']['pager_options']['expose']['items_per_page_options'];
@@ -179,7 +179,7 @@ class views_plugin_pager_full extends views_plugin_pager {
}
}
- function query() {
+ function query($group_by = FALSE) {
if ($this->items_per_page_exposed()) {
if (!empty($_GET['items_per_page']) && $_GET['items_per_page'] > 0) {
$this->options['items_per_page'] = $_GET['items_per_page'];
diff --git a/plugins/views_plugin_pager_none.inc b/plugins/views_plugin_pager_none.inc
index 49e3022..5fdee41 100644
--- a/plugins/views_plugin_pager_none.inc
+++ b/plugins/views_plugin_pager_none.inc
@@ -56,11 +56,11 @@ class views_plugin_pager_none extends views_plugin_pager {
// If we are displaying all items, never count. But we can update the count in post_execute.
}
- function post_execute($result) {
+ function post_execute(&$result = array()) {
$this->total_items = count($result);
}
- function query() {
+ function query($group_by = FALSE) {
// The only query modifications we might do are offsets.
if (!empty($this->options['offset'])) {
$this->view->query->set_offset($this->options['offset']);
diff --git a/plugins/views_plugin_pager_some.inc b/plugins/views_plugin_pager_some.inc
index 28ed1a3..a3546f4 100644
--- a/plugins/views_plugin_pager_some.inc
+++ b/plugins/views_plugin_pager_some.inc
@@ -48,7 +48,7 @@ class views_plugin_pager_some extends views_plugin_pager {
return FALSE;
}
- function query() {
+ function query($group_by = FALSE) {
$this->view->query->set_limit($this->options['items_per_page']);
$this->view->query->set_offset($this->options['offset']);
}
diff --git a/plugins/views_plugin_query.inc b/plugins/views_plugin_query.inc
index a82749e..e87bc05 100644
--- a/plugins/views_plugin_query.inc
+++ b/plugins/views_plugin_query.inc
@@ -84,9 +84,9 @@ class views_plugin_query extends views_plugin {
*/
function options_form(&$form, &$form_state) { }
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
- function options_submit(&$form, &$form_state) { }
+ function options_submit($form, &$form_state) { }
function summary_title() {
return t('Settings');
diff --git a/plugins/views_plugin_row.inc b/plugins/views_plugin_row.inc
index 45029fd..af5d8aa 100644
--- a/plugins/views_plugin_row.inc
+++ b/plugins/views_plugin_row.inc
@@ -98,15 +98,15 @@ class views_plugin_row extends views_plugin {
/**
* Validate the options form.
*/
- function options_validate(&$form, &$form_state) { }
+ function options_validate($form, &$form_state) { }
/**
* Perform any necessary changes to the form values prior to storage.
* There is no need for this function to actually store the data.
*/
- function options_submit(&$form, &$form_state) { }
+ function options_submit($form, &$form_state) { }
- function query() {
+ function query($group_by = FALSE) {
if (isset($this->base_table)) {
if (isset($this->options['relationship']) && isset($this->view->relationship[$this->options['relationship']])) {
$relationship = $this->view->relationship[$this->options['relationship']];
@@ -124,7 +124,7 @@ class views_plugin_row extends views_plugin {
* @param $result
* The full array of results from the query.
*/
- function pre_render($result) { }
+ function pre_render(&$values) { }
/**
* Render a row object. This usually passes through to a theme template
diff --git a/plugins/views_plugin_row_fields.inc b/plugins/views_plugin_row_fields.inc
index f152240..c2e452b 100644
--- a/plugins/views_plugin_row_fields.inc
+++ b/plugins/views_plugin_row_fields.inc
@@ -76,7 +76,7 @@ class views_plugin_row_fields extends views_plugin_row {
* Perform any necessary changes to the form values prior to storage.
* There is no need for this function to actually store the data.
*/
- function options_submit(&$form, &$form_state) {
+ function options_submit($form, &$form_state) {
$form_state['values']['row_options']['inline'] = array_filter($form_state['values']['row_options']['inline']);
}
}
diff --git a/plugins/views_plugin_style.inc b/plugins/views_plugin_style.inc
index 385f3a5..86c7af3 100644
--- a/plugins/views_plugin_style.inc
+++ b/plugins/views_plugin_style.inc
@@ -218,9 +218,9 @@ class views_plugin_style extends views_plugin {
* @param $result
* The full array of results from the query.
*/
- function pre_render($result) {
+ function pre_render(&$values) {
if (!empty($this->row_plugin)) {
- $this->row_plugin->pre_render($result);
+ $this->row_plugin->pre_render($values);
}
}
@@ -364,7 +364,7 @@ class views_plugin_style extends views_plugin {
return $errors;
}
- function query() {
+ function query($group_by = FALSE) {
parent::query();
if (isset($this->row_plugin)) {
$this->row_plugin->query();
diff --git a/plugins/views_plugin_style_summary.inc b/plugins/views_plugin_style_summary.inc
index 2508b39..9948fdb 100644
--- a/plugins/views_plugin_style_summary.inc
+++ b/plugins/views_plugin_style_summary.inc
@@ -21,7 +21,7 @@ class views_plugin_style_summary extends views_plugin_style {
return $options;
}
- function query() {
+ function query($group_by = FALSE) {
if (!empty($this->options['override'])) {
$this->view->set_items_per_page(intval($this->options['items_per_page']));
}
diff --git a/plugins/views_plugin_style_summary_jump_menu.inc b/plugins/views_plugin_style_summary_jump_menu.inc
index 097cc19..549e61f 100644
--- a/plugins/views_plugin_style_summary_jump_menu.inc
+++ b/plugins/views_plugin_style_summary_jump_menu.inc
@@ -23,7 +23,7 @@ class views_plugin_style_summary_jump_menu extends views_plugin_style {
return $options;
}
- function query() {
+ function query($group_by = FALSE) {
// Copy the offset option.
$pager = array(
'type' => 'none',