Project Address: http://www.freeteam.cn/
questionList
According to the list of parameter extraction online survey.
parameter |
Explanation |
id |
Online survey id |
siteid |
Id-owned site |
name |
name |
nameLen |
Name display length |
selecttype |
An empty string indicates selection of all types (default) 0 is selected from more than one radio |
order |
Sequence 1 reverse chronological order (the default) 2 time positive sequence |
tomorrow |
An empty string indicates that all active (default) 0 Disabled 1 Enabled |
on one |
Quantity |
beginnum |
From the beginning FreeCMS 1.7 support From the first few start from scratch representatives 0 |
cache |
Whether to use the cache, the default is false |
orderby |
From the beginning FreeCMS 2.4 support Sorting sql, after setting failure order attribute |
return value |
Explanation |
question |
Online survey, type of data object question |
index |
index |
size |
From the beginning FreeCMS 2.4 support List Length |
Example 1
The first two online surveys extraction.
<@questionList num="2";question,index>
${index} : ${question.name}<br>
</@questionList>