[[id()]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:create:functions:id [11.07.2017 00:31] – [Example] baeuchler.inesen:create:functions:id [18.02.2019 11:15] (current) martijn.millecamp
Line 7: Line 7:
 ''string **id**(string //question identifier//, integer //Item//)'' ''string **id**(string //question identifier//, integer //Item//)''
          
-The function ''id()'' is generating a formally correct qestion- or item identifier out of single statements about the category, question and (optional) item. This question- or item identifier can be used e.g. in ''[[value]]'' or ''[[put]]''. The function can be helpful, when the item identifier is specified as a number, like e.g. ''1'' instead of ''01''.+The function ''id()'' is generating a formally correct question- or item identifier out of single statements about the category, question and (optional) item. This question- or item identifier can be used e.g. in ''[[value]]'' or ''[[put]]''. The function can be helpful, when the item identifier is specified as a number, like e.g. ''1'' instead of ''01''.
  
  
Line 29: Line 29:
  
 <code php> <code php>
-// find items with evaluation 3+ Items+// find items with evaluation 3+
 $items = getItems('SK01', 'min', 3); $items = getItems('SK01', 'min', 3);
 // go through all items // go through all items
en/create/functions/id.txt · Last modified: 18.02.2019 11:15 by martijn.millecamp
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki