Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
charts
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
charts
Commits
830dff92
Commit
830dff92
authored
14 years ago
by
Bruno Massa
Browse files
Options
Downloads
Patches
Plain Diff
Internals:
* Some tips and code standarts pointed by Code Review module implemented
parent
276bcc7f
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
charts.inc
+1
-1
1 addition, 1 deletion
charts.inc
charts.module
+1
-1
1 addition, 1 deletion
charts.module
google_charts/google_charts.module
+2
-2
2 additions, 2 deletions
google_charts/google_charts.module
views/charts.views.inc
+4
-4
4 additions, 4 deletions
views/charts.views.inc
with
8 additions
and
8 deletions
charts.inc
+
1
−
1
View file @
830dff92
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
// For everyone that does not use PHP 5.2 or newer
// For everyone that does not use PHP 5.2 or newer
if
(
!
function_exists
(
'array_fill_keys'
))
{
if
(
!
function_exists
(
'array_fill_keys'
))
{
function
array_fill_keys
(
array
$keys
,
$value
)
{
function
array_fill_keys
(
array
$keys
,
$value
)
{
return
array_combine
(
$keys
,
array_fill
(
0
,
count
(
$keys
),
$value
));
return
array_combine
(
$keys
,
array_fill
(
0
,
count
(
$keys
),
$value
));
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
charts.module
+
1
−
1
View file @
830dff92
...
@@ -25,7 +25,7 @@ function charts_chart(&$data) {
...
@@ -25,7 +25,7 @@ function charts_chart(&$data) {
}
}
/**
/**
* Im
m
plementation of hook_chart_types().
* Implementation of hook_chart_types().
*/
*/
function
charts_chart_types
()
{
function
charts_chart_types
()
{
return
array
(
return
array
(
...
...
This diff is collapsed.
Click to expand it.
google_charts/google_charts.module
+
2
−
2
View file @
830dff92
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*/
*/
/**
/**
* Im
m
plementation of hook_charts_info().
* Implementation of hook_charts_info().
*
*
* Its a Charts module hook. It defines almost all aspects
* Its a Charts module hook. It defines almost all aspects
* of a chart provider, like its name, what types of charts
* of a chart provider, like its name, what types of charts
...
@@ -27,7 +27,7 @@ function google_charts_charts_info() {
...
@@ -27,7 +27,7 @@ function google_charts_charts_info() {
}
}
/**
/**
* Im
m
plementation of hook_chart_types().
* Implementation of hook_chart_types().
*/
*/
function
google_charts_chart_types
()
{
function
google_charts_chart_types
()
{
return
array
(
return
array
(
...
...
This diff is collapsed.
Click to expand it.
views/charts.views.inc
+
4
−
4
View file @
830dff92
...
@@ -7,10 +7,10 @@
...
@@ -7,10 +7,10 @@
*/
*/
/**
/**
* Implementation of hook_views_plugins().
* Implementation of hook_views_plugins().
*
*
* Define charts style for Views.
* Define charts style for Views.
*/
*/
function
charts_views_plugins
()
{
function
charts_views_plugins
()
{
// Views support is only possible if Views Calc module is enabled. It
// Views support is only possible if Views Calc module is enabled. It
// is responsible for turn the Views values into a aggregates.
// is responsible for turn the Views values into a aggregates.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment