[[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:06] – [Return Value] 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()]]''.
  
  
 ''array|false **dbGet**(string //key//)'' ''array|false **dbGet**(string //key//)''
  
-  * //key//\\ The database key stored for the data+  * //key//\\ The database key for which data is stored
  
-===== Rückgabewert =====+===== Return Value =====
  
-Wenn der angegeben //Schlüssel// in der Datenbank existiertgibt die Funktion immer ein Array zurück -- auch wenn nur ein Wert für den //Schlüssel// hinterlegt wurde.+If the specified //key// exists in the databasethe function always returns an array -- even if only one value was stored for the //key//
 + 
 +If the specified //key// cannot be found in the database, the function returns ''false''. In debug mode (({{:button.debug.gif?nolink|Start questionnaire in debug mode}}) (not in finished questionnaires), a warning will also be displayed if the key cannot be found.
  
-Falls der angegebene //Schlüssel// in der Datenbank nicht gefunden wird, gibt die Funktion ''false'' zurück. Im Debug-Modus ({{:button.debug.gif?nolink|Fragebogen im Debug-Modus starten}}), nicht jedoch im fertigen Fragebogen, wird außerdem eine Warnung angezeigt, wenn der Schlüssel nicht gefunden wurde. 
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