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
typo3
qfq
Commits
66158609
Commit
66158609
authored
Feb 18, 2018
by
Carsten Rose
Browse files
Report: replace rbeg after the row has been processed - using latest row values becomes possible.
parent
03840cf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/report/Report.php
View file @
66158609
...
...
@@ -507,16 +507,16 @@ class Report {
$content
.
=
$columnValueSeparator
;
$columnValueSeparator
=
$this
->
variables
->
doVariables
(
$this
->
frArray
[
$full_level
.
"."
.
TOKEN_RSEP
]);
// RBEG
//-----------------------------
// COLUMNS: Collect all columns
$content
.
=
$this
->
collectRow
(
$row
,
$keys
,
$full_level
,
$rowIndex
);
// RBEG - replace after 'collectRow' to use values from the current row
$rbeg
=
$this
->
variables
->
doVariables
(
$this
->
frArray
[
$full_level
.
"."
.
TOKEN_RBEG
]);
// RBGD: even/odd rows
$content
.
=
str_replace
(
TOKEN_RBGD
,
$arrRbgd
[
$rowIndex
%
2
],
$rbeg
);
//-----------------------------
// COLUMNS: Collect all columns
$content
.
=
$this
->
collectRow
(
$row
,
$keys
,
$full_level
,
$rowIndex
);
// REND
$content
.
=
$this
->
variables
->
doVariables
(
$this
->
frArray
[
$full_level
.
"."
.
TOKEN_REND
]);
...
...
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