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
a7f317e3
Commit
a7f317e3
authored
Sep 19, 2019
by
Carsten Rose
Browse files
Report.php: remove some linefeeds, update phpdoc
parent
4db9bc6e
Pipeline
#2379
passed with stages
in 2 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/Report/Report.php
View file @
a7f317e3
...
...
@@ -212,11 +212,14 @@ class Report {
* @throws \CodeException
* @throws \DbException
* @throws \DownloadException
* @throws \UserFormException
* @throws \UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
* @throws \Twig\Error\LoaderError
* @throws \Twig\Error\RuntimeError
* @throws \Twig\Error\SyntaxError
* @throws \UserFormException
* @throws \UserReportException
*/
public
function
process
(
$bodyText
)
{
...
...
@@ -421,28 +424,26 @@ class Report {
* If the next Level is a Sublevel it will be executed and $this->counter will be added by 1
* The sublevel calls the method again for a following sublevel
*
* @param int $cur_level Which level it will call [10] = level 1, [10.10] = level 2 ...
* @param array $super_level_array The Value-Array of the indexarray [0=>10, 1=>50]
* @param int $counter The outer numeric Arraykey of indexarray
*
* @return string The content that is displayed on the website
* @param int $cur_level
* @param array $super_level_array
* @param int $counter
* @return string
* @throws \CodeException
* @throws \DbException
* @throws \DownloadException
* @throws \UserFormException
* @throws \UserReportException
* @throws \PhpOffice\PhpSpreadsheet\Exception
* @throws \PhpOffice\PhpSpreadsheet\Reader\Exception
* @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
* @throws \Twig\Error\LoaderError
* @throws \Twig\Error\RuntimeError
* @throws \Twig\Error\SyntaxError
* @throws \UserFormException
* @throws \UserReportException
*/
private
function
triggerReport
(
$cur_level
=
1
,
array
$super_level_array
=
array
(),
$counter
=
0
)
{
$keys
=
array
();
$stat
=
array
();
$lineDebug
=
0
;
$content
=
""
;
$rowTotal
=
0
;
// CurrentLevel "10.10.50"
if
(
isset
(
$this
->
indexArray
[
$counter
])
&&
is_array
(
$this
->
indexArray
[
$counter
]))
{
...
...
@@ -514,7 +515,6 @@ class Report {
$contentLevel
.
=
$this
->
variables
->
doVariables
(
$this
->
frArray
[
$fullLevel
.
"."
.
TOKEN_HEAD
]);
}
///////////////////////
// Render rows //
///////////////////////
...
...
@@ -666,16 +666,14 @@ class Report {
/**
* Render given Twig template with content from $result
*
* @param string $twig_template
* @param string $result - result from sql querry in mode ROW_KEYS
* @param string $keys - Column names given by sql query
*
* @return string The rendered Twig template
*
* @param $twig_template
* @param $result
* @param $keys
* @return string
* @throws \CodeException
* @throws \Twig
\
Error
\
Loader
Error
* @throws \Twig
\
Error
\
Runtime
Error
* @throws \Twig
\
Error
\
Syntax
Error
* @throws \Twig
_
Error
_
Loader
* @throws \Twig
_
Error
_
Runtime
* @throws \Twig
_
Error
_
Syntax
* @throws \UserFormException
* @throws \UserReportException
*/
...
...
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