Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
aab89e56
Commit
aab89e56
authored
Oct 01, 2018
by
Gerald Salin
Browse files
#76
: reaplce spluit with explode call
parent
4a5039b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/class.tx_nG6_eid.php
View file @
aab89e56
...
...
@@ -805,12 +805,12 @@ class tx_nG6_eid {
$by
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'by'
));
print
json_encode
(
tx_nG6_db
::
select_projects_repartition
(
$role
,
$by
));
}
elseif
(
$type
==
'project_distribution'
)
{
$values
=
split
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$values
=
explode
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$by
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'by'
));
$role
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'role'
));
print
json_encode
(
tx_nG6_db
::
select_projects_distribution
(
$values
,
$by
,
$role
));
}
elseif
(
$type
==
'project_evolution'
)
{
$values
=
split
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$values
=
explode
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$by
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'by'
));
$role
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'role'
));
$cumulate
=
false
;
...
...
@@ -820,7 +820,7 @@ class tx_nG6_eid {
print
json_encode
(
tx_nG6_db
::
select_projects_evolution
(
$values
,
$by
,
$role
,
$cumulate
));
}
elseif
(
$type
==
'data_distribution'
){
$values
=
split
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$values
=
explode
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$by
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'by'
));
$role
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'role'
));
$get_analyzes
=
false
;
...
...
@@ -834,7 +834,7 @@ class tx_nG6_eid {
print
json_encode
(
tx_nG6_db
::
select_storage_distribution
(
$values
,
$by
,
$role
,
$get_analyzes
,
$octet
));
}
elseif
(
$type
==
'data_evolution'
){
$values
=
split
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$values
=
explode
(
","
,
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'values'
)));
$by
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'by'
));
$role
=
trim
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
_GP
(
'role'
));
$get_analyzes
=
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