This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:functions:serialcheck [14.01.2015 16:56] – created alexander.ritter | en:create:functions:serialcheck [24.01.2015 13:09] – [Return Value] alexander.ritter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== serialCheck() ====== | ====== serialCheck() ====== | ||
- | '' | + | '' |
- | Die Funktion | + | The function |
- | **Wichtig:** Mit der Funktion kann lediglich der Status einer Seriennummer geprüft werden | + | **Note:** Only the status of an authorization code can be checked with this function |
- | ===== Rückgabewert ===== | ||
- | Als Ergebnis liefert '' | + | ===== Return Value ===== |
- | ^Code^Bedeutung^ | + | '' |
- | |-1|Es wurde keine Seriennummer angegeben| | + | |
- | |0|Die Seriennummer ist im Befragungsprojekt nicht bekannt| | + | |
- | |1|Die Seriennummer wurde bereits verbraucht | + | |
- | |2|Mit der Seriennummer wurde bereits ein Fragebogen aufgerufen, aber nicht abgeschlossen| | + | |
- | |3|Die Seriennummer wurde noch nicht verwendet| | + | |
+ | ^Code^Meaning^ | ||
+ | |-1|No authorization code specified| | ||
+ | |0|Authorization code not recognized in the survey project| | ||
+ | |1|Authorization code already used (questionnaire is thus completed)| | ||
+ | |2|Questionnaire was already called up with the authorization code, but not completed| | ||
+ | |3|Authorization code yet to be used| | ||
- | ===== Beispiel ===== | ||
- | Das folgende Beispiel geht davon aus, dass auf der vorhergehenden Seite im Texteingabefeld | + | ===== Example ===== |
+ | |||
+ | The following example assumes that an authorization code was asked for on the previous page in the text input field " | ||
<code php> | <code php> |