Commit e535ecd8 authored by Marc Egger's avatar Marc Egger
Browse files

add documentation

parent 0055945d
Pipeline #1873 passed with stage
in 2 minutes and 13 seconds
......@@ -6470,6 +6470,40 @@ Example::
CONCAT('y|F:', p.pathFileName,'|t:File (link)|o:', p.pathFileName) AS _link
FROM Person AS p  
.. _special-sql-functions:
Special SQL Functions
.. _qbar-qscape-qfq-delimiter:
QBAR: Escape qfq Delimiter
The SQL function QBAR(text) replaces "|" with "\\|" in `text` to prevent conflicts with the qfq special column notation.
10.sql = SELECT CONCAT('T:fileadmin/', QBAR(, '.pdf') AS _thumbnail
FROM Person AS p  
.. _qmore-truncate-long-text:
QMORE: Truncate Long Text
The SQL function QMORE(text, n) truncates `text` if it is longer than `n` characters and adds a "more.." button. If the "more..."
button is clicked, the whole text is displayed.
10.sql = SELECT QMORE("This is a text which is longer than 10 characters", 10)
This is a `more..`
.. _download:
......@@ -7,8 +7,6 @@
<link rel="stylesheet" href="../extension/Resources/Public/Css/bootstrap.min.css">
<link rel="stylesheet" href="../extension/Resources/Public/Css/bootstrap-theme.min.css">
<link rel="stylesheet" href="../extension/Resources/Public/Css/font-awesome.min.css">
<link rel="stylesheet" href="../extension/Resources/Public/Css/tablesorter-bootstrap.css">
<link rel="stylesheet" href="../extension/Resources/Public/Css/qfq-bs.css">
<title>Input Mode Switcher</title>
......@@ -34,32 +32,5 @@
<script src="../js/validator.min.js"></script>
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script src="../extension/Resources/Public/JavaScript/jquery.tablesorter.combined.min.js"></script>
<script src="../extension/Resources/Public/JavaScript/jquery.tablesorter.pager.min.js"></script>
<script src="../extension/Resources/Public/JavaScript/widget-columnSelector.min.js"></script>
<script type="text/javascript">
$(function () {
var qfqPage = new QfqNS.QfqPage({
tabsId: 'myTabs',
formId: 'myForm',
submitTo: 'api/' + $("#submitTo").val(),
deleteUrl: 'api/' + $("#deleteUrl").val(),
fileUploadTo: 'api/' + $("#uploadTo").val(),
fileDeleteUrl: 'api/' + $("#fileDeleteUrl").val()
QfqNS.Log.level = 0;
//var codeCorrection = new QfqNS.CodeCorrection(qfqPage, {
// url: '../javascript/src/CodeCorrection.js'
//}, $('.annotate-text'), $('#codeCorrection-output1'), {
// uid: 5,
// name: "Definitely not an AI",
// avatar: "mockData/avatar1.png"
//}, 'http://localhost:63342/qfq/mockup/mockData/javascript.json');
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment