Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
3b1404f6
Commit
3b1404f6
authored
Jul 02, 2018
by
Elias Villiger
Browse files
Feature 5878 - #!report whitespace is trimmed
Documentation about #!report is extended.
parent
a8074eb6
Changes
2
Show whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
3b1404f6
...
...
@@ -2511,7 +2511,8 @@ Fields:
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Maxlength | string |Maximum characters for input. _`field-maxLength` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Note | string |Note of *FormElement*. Depending on layout model, right or below of the *FormElement*. _`field-note` |
|Note | string |Note of *FormElement*. Depending on layout model, right or below of the *FormElement*. |
| | |Report syntax can also be used, see _`report-notation` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
|Tooltip | text |Display this text as tooltip on mouse over. _`field-tooltip` |
+---------------------+-----------------------------+-----------------------------------------------------------------------------------------------------+
...
...
@@ -2547,6 +2548,10 @@ to edit, on the same form, a corresponding person email address (which is in a s
{{SELECT a.email FROM Address AS a WHERE a.pId={{id:R0}} ORDER BY a.id LIMIT 1}}
Report syntax can also be used, see _`report-notation`.
.. _`report-notation`:
FE: 'Report' notation
^^^^^^^^^^^^^^^^^^^^^
...
...
extension/qfq/qfq/AbstractBuildForm.php
View file @
3b1404f6
...
...
@@ -509,6 +509,7 @@ abstract class AbstractBuildForm {
return
$new
;
}
$value
=
trim
(
$value
);
if
(
substr
(
$value
,
0
,
8
)
==
SHEBANG_REPORT
)
{
if
(
$this
->
report
===
null
)
{
$this
->
report
=
new
Report
(
array
(),
$this
->
evaluate
,
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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