Skip to content
GitLab
Menu
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
402b0e3c
Commit
402b0e3c
authored
Oct 18, 2019
by
Ephraim Seidenberg
Browse files
two typos corrected
parent
5ef46311
Pipeline
#2538
passed with stage
in 2 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
402b0e3c
...
@@ -1007,14 +1007,14 @@ SQL variables
...
@@ -1007,14 +1007,14 @@ SQL variables
* INSERT, UPDATE, DELETE, REPLACE, TRUNCATE
* INSERT, UPDATE, DELETE, REPLACE, TRUNCATE
* SHOW, DESCRIBE, EXPLAIN, SET
* SHOW, DESCRIBE, EXPLAIN, SET
* A SQL Statement might contain variables, including additional SQL statements. Inner SQL queries will be executed first.
* A
n
SQL Statement might contain variables, including additional SQL statements. Inner SQL queries will be executed first.
* All variables will be substituted one by one from inner to outer.
* All variables will be substituted one by one from inner to outer.
* The number of variables inside an input field or a SQL statement is not limited.
* The number of variables inside an input field or a
n
SQL statement is not limited.
Result: string
Result: string
''''''''''''''
''''''''''''''
A result of a SQL statement will be imploded over all: concat all columns of a row, concat all rows - there is no
A result of a
n
SQL statement will be imploded over all: concat all columns of a row, concat all rows - there is no
glue string.
glue string.
Result: row
Result: row
...
@@ -1094,7 +1094,7 @@ For better reading, the format string might be wrapped in single or double quote
...
@@ -1094,7 +1094,7 @@ For better reading, the format string might be wrapped in single or double quote
These variables are especially helpful in:
These variables are especially helpful in:
* `report`, to create create links or buttons outside of a SQL statement. E.g. in `head`, `rbeg`, ...
* `report`, to create create links or buttons outside of a
n
SQL statement. E.g. in `head`, `rbeg`, ...
* `form`, to create links and buttons in labels or notes.
* `form`, to create links and buttons in labels or notes.
...
@@ -1804,7 +1804,7 @@ General
...
@@ -1804,7 +1804,7 @@ General
* *Multi* form: the form acts simultaneously on more than one record. All records use the same *FormElements*.
* *Multi* form: the form acts simultaneously on more than one record. All records use the same *FormElements*.
* The *FormElements* are defined as a regular *simple* / or *advanced* form, plus a SQL Query, which selects and
* The *FormElements* are defined as a regular *simple* / or *advanced* form, plus a
n
SQL Query, which selects and
iterates over all records. Those records will be loaded at the same time.
iterates over all records. Those records will be loaded at the same time.
* *Delete* form: any form can be used as a form to `delete-record`_.
* *Delete* form: any form can be used as a form to `delete-record`_.
...
@@ -2140,7 +2140,7 @@ Parameter
...
@@ -2140,7 +2140,7 @@ Parameter
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| typeAheadLdap | - | Enable LDAP as 'Typeahead' data source. |
| typeAheadLdap | - | Enable LDAP as 'Typeahead' data source. |
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| typeAheadLdapSearch | string | Regular LDAP search express
s
ion. E.g.: `(|(cn=*?*)(mail=*?*))` |
| typeAheadLdapSearch | string | Regular LDAP search expression. E.g.: `(|(cn=*?*)(mail=*?*))` |
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
| typeAheadLdapValuePrintf | string | Value formatting of LDAP result, per entry. E.g.: `'%s / %s / %s', mail, roomnumber, telephonenumber` |
| typeAheadLdapValuePrintf | string | Value formatting of LDAP result, per entry. E.g.: `'%s / %s / %s', mail, roomnumber, telephonenumber` |
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
+-----------------------------+--------+----------------------------------------------------------------------------------------------------------+
...
@@ -2433,7 +2433,7 @@ Additional logic is required to load, update, insert and/or delete slave records
...
@@ -2433,7 +2433,7 @@ Additional logic is required to load, update, insert and/or delete slave records
Load
Load
;;;;
;;;;
On each native *FormElement* of the *templateGroup* define a SQL query in the *FormElement.value* field. The query has to
On each native *FormElement* of the *templateGroup* define a
n
SQL query in the *FormElement.value* field. The query has to
select **all** values of all possible existing copies of the *FormElement* - therefore the exclamation mark is necessary.
select **all** values of all possible existing copies of the *FormElement* - therefore the exclamation mark is necessary.
Also define the order. E.g. *FormElement.value*::
Also define the order. E.g. *FormElement.value*::
...
@@ -3215,7 +3215,7 @@ Type: subrecord
...
@@ -3215,7 +3215,7 @@ Type: subrecord
^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^
The *FormElement* type 'subrecord' renders a list of records (so called secondary records), typically to show, edit, delete
The *FormElement* type 'subrecord' renders a list of records (so called secondary records), typically to show, edit, delete
or add new records. The list is defined as a SQL query. The number of records shown is not limited. These *FormElement*
or add new records. The list is defined as a
n
SQL query. The number of records shown is not limited. These *FormElement*
will be rendered inside the form as a HTML table.
will be rendered inside the form as a HTML table.
* *mode / modeSql* = `<type/value>`
* *mode / modeSql* = `<type/value>`
...
@@ -3569,7 +3569,7 @@ Types:
...
@@ -3569,7 +3569,7 @@ Types:
Parameter: sqlValidate
Parameter: sqlValidate
''''''''''''''''''''''
''''''''''''''''''''''
Perform checks by fir
e
ing a SQL query and expecting a predefined number of selected records.
Perform checks by firing a
n
SQL query and expecting a predefined number of selected records.
* OK: the `expectRecords` number of records has been selected. Continue processing the next *FormElement*.
* OK: the `expectRecords` number of records has been selected. Continue processing the next *FormElement*.
* Fail: the `expectRecords` number of records has not been selected (less or more): Display the error message
* Fail: the `expectRecords` number of records has not been selected (less or more): Display the error message
...
@@ -3808,7 +3808,7 @@ Variables
...
@@ -3808,7 +3808,7 @@ Variables
* Form.parameter.fillStoreVar / FormElement.parameter.fillStoreVar
* Form.parameter.fillStoreVar / FormElement.parameter.fillStoreVar
A SQL statement will fill STORE_VARS. Such values can be used during form load and/or save.
A
n
SQL statement will fill STORE_VARS. Such values can be used during form load and/or save.
Action
Action
^^^^^^
^^^^^^
...
@@ -4733,7 +4733,7 @@ Assume that the database has a table person with columns firstName and lastName.
...
@@ -4733,7 +4733,7 @@ Assume that the database has a table person with columns firstName and lastName.
10.sql = SELECT id AS pId, CONCAT(firstName, " ", lastName, " ") AS name FROM person
10.sql = SELECT id AS pId, CONCAT(firstName, " ", lastName, " ") AS name FROM person
The '10' indicates a *root level* of the report (see section `Structure`_). The express
s
ion '10.sql' defines a SQL query
The '10' indicates a *root level* of the report (see section `Structure`_). The expression '10.sql' defines a
n
SQL query
for the specific level. When the query is executed, it will return a result having one single column name containing first and last name
for the specific level. When the query is executed, it will return a result having one single column name containing first and last name
separated by a space character.
separated by a space character.
...
@@ -6577,7 +6577,7 @@ to the file is SIP protected. Any file on the server is possible.
...
@@ -6577,7 +6577,7 @@ to the file is SIP protected. Any file on the server is possible.
10.head = <pre id="monitor-1">Please wait</pre>
10.head = <pre id="monitor-1">Please wait</pre>
* On the same Typo3 page, define a SQL column '_monitor' with the necessary parameter: ::
* On the same Typo3 page, define a
n
SQL column '_monitor' with the necessary parameter: ::
10.sql = SELECT 'file:fileadmin/protected/log/sql.log|tail:50|append:1|refresh:1000|htmlId:monitor-1' AS _monitor
10.sql = SELECT 'file:fileadmin/protected/log/sql.log|tail:50|append:1|refresh:1000|htmlId:monitor-1' AS _monitor
...
@@ -7121,7 +7121,7 @@ Tip on Report: In case the query did not contain any double ticks, just wrap all
...
@@ -7121,7 +7121,7 @@ Tip on Report: In case the query did not contain any double ticks, just wrap all
Error read file config.qfq.php: syntax error on line xx
Error read file config.qfq.php: syntax error on line xx
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check the given line number. If it's a SQL statement, enclose it in single or double ticks.
Check the given line number. If it's a
n
SQL statement, enclose it in single or double ticks.
Logging
Logging
-------
-------
...
...
Write
Preview
Supports
Markdown
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