[[dbGet()]]
 

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
Next revisionBoth sides next revision
en:create:functions:dbget [14.01.2015 21:22] alexander.ritteren:create:functions:dbget [24.01.2015 14:02] – [dbGet()] alexander.ritter
Line 1: Line 1:
 ====== dbGet() ====== ====== dbGet() ======
  
-Data can be retrieved from the **Database for Contents** with ''dbGet()''. More details can be found in the chapter [[:de:create:databank|Database for Contents]] and ''[[:en:create:functions:dbset|dbSet()]]''.+Data can be retrieved from the **Database for Contents** with ''dbGet()''. More details can be found in the chapters [[:en:create:databank|Database for Contents]] and ''[[:en:create:functions:dbset|dbSet()]]''.
  
  
Line 8: Line 8:
   * //key//\\ The database key stored for the data   * //key//\\ The database key stored for the data
  
-===== Rückgabewert =====+===== Return Value =====
  
 +If the specified //key// exists in the database, the function always returns an array -- even if only one value was stored for the //key//.
 Wenn der angegeben //Schlüssel// in der Datenbank existiert, gibt die Funktion immer ein Array zurück -- auch wenn nur ein Wert für den //Schlüssel// hinterlegt wurde. Wenn der angegeben //Schlüssel// in der Datenbank existiert, gibt die Funktion immer ein Array zurück -- auch wenn nur ein Wert für den //Schlüssel// hinterlegt wurde.
  
-Falls der angegebene //Schlüssel// in der Datenbank nicht gefunden wirdgibt die Funktion ''false'' zurückIm Debug-Modus ({{:button.debug.gif?nolink|Fragebogen im Debug-Modus starten}}), nicht jedoch im fertigen Fragebogen, wird außerdem eine Warnung angezeigtwenn der Schlüssel nicht gefunden wurde.+If the specified //key// cannot be found in the databasethe function returns ''false''In debug mode (({{:button.debug.gif?nolink|Start questionnaire in debug mode}}) (not in finished questionnaires), a warning will also be displayedif the key cannot be found. 
en/create/functions/dbget.txt · Last modified: 05.09.2023 11:37 by swissel.uni-mannheim
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki