This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:create:functions:id [11.07.2017 00:29] – [Example] baeuchler.ines | en:create:functions:id [11.07.2017 00:31] – [Example] baeuchler.ines | ||
---|---|---|---|
Line 29: | Line 29: | ||
<code php> | <code php> | ||
- | // Items mit Bewertung | + | // find items with evaluation |
$items = getItems(' | $items = getItems(' | ||
- | // Alle Items durchgehen | + | // go through all items |
foreach ($items as $item) { | foreach ($items as $item) { | ||
- | // Text ermitteln | + | // identify text |
$text = getItemtext(' | $text = getItemtext(' | ||
- | // Wert ermitteln | + | // identify value |
$wert = value(id(' | $wert = value(id(' | ||
- | // Im Fragebogen anzeigen | + | // show in questionnaire |
html('< | html('< | ||
} | } | ||
</ | </ | ||