Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4547223c
Commit
4547223c
authored
May 29, 2013
by
Alex Pott
Browse files
Issue
#2002988
by kenianbei, tvlooy: Rename Views method summary_basics() to summaryBasics().
parent
4df1036a
Changes
4
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
View file @
4547223c
...
...
@@ -809,7 +809,7 @@ function summary_query() {
$this
->
base_alias
=
$this
->
query
->
add_field
(
$this
->
tableAlias
,
$this
->
realField
);
$this
->
summary_name_field
();
return
$this
->
summary
_b
asics
();
return
$this
->
summary
B
asics
();
}
/**
...
...
@@ -851,7 +851,7 @@ function summary_name_field() {
* Some basic summary behavior that doesn't need to be repeated as much as
* code that goes into summary_query()
*/
function
summary
_b
asics
(
$count_field
=
TRUE
)
{
public
function
summary
B
asics
(
$count_field
=
TRUE
)
{
// Add the number of nodes counter
$distinct
=
(
$this
->
view
->
display_handler
->
getOption
(
'distinct'
)
&&
empty
(
$this
->
query
->
no_distinct
));
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php
View file @
4547223c
...
...
@@ -54,7 +54,7 @@ function summary_query() {
$this
->
base_alias
=
$this
->
name_alias
=
$this
->
query
->
add_field
(
NULL
,
$formula
,
$this
->
field
);
$this
->
query
->
set_count_field
(
NULL
,
$formula
,
$this
->
field
);
return
$this
->
summary
_b
asics
(
FALSE
);
return
$this
->
summary
B
asics
(
FALSE
);
}
/**
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
View file @
4547223c
...
...
@@ -181,7 +181,7 @@ function summary_query() {
$this
->
summary_name_field
();
return
$this
->
summary
_b
asics
();
return
$this
->
summary
B
asics
();
}
function
summary_argument
(
$data
)
{
...
...
core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php
View file @
4547223c
...
...
@@ -167,7 +167,7 @@ function summary_query() {
}
$this
->
summary_name_field
();
return
$this
->
summary
_b
asics
(
FALSE
);
return
$this
->
summary
B
asics
(
FALSE
);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment