[[debug()]]
 

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:debug [02.12.2014 19:21] alexander.ritteren:create:functions:debug [21.12.2014 22:18] admin
Line 3: Line 3:
 ''void **debug**(mixed //object//)'' ''void **debug**(mixed //object//)''
  
-The function ''debug()'' conveniently shows the project manager the content of a PHP or data variable or a placeholder in debug mode. This is particularly helpful when monitoring filters and, if necessaryfor [[:en:create:filter-solving|Problem Solutions for Filters]]+The function ''debug()'' conveniently shows the project manager the content of a PHP or data variable or a placeholder in debug mode. This is particularly helpful when monitoring filters and, as the case may beas [[:en:create:filter-solving|Problem Solutions for Filters]]
  
 **Note:** The content of the respective variable is only shown if the questionnaire is started in debug mode {{:button.debug.gif?nolink|Start Questionnaire in Debug Mode}}. **Note:** The content of the respective variable is only shown if the questionnaire is started in debug mode {{:button.debug.gif?nolink|Start Questionnaire in Debug Mode}}.
Line 21: Line 21:
 } }
  
-// Placeholder and function set()+// Placeholders
 $random = random(1,10); $random = random(1,10);
-set($random, 'randomnumber'); 
 if ($random == 1) { if ($random == 1) {
   replace('%category%', 'employee');   replace('%category%', 'employee');
Line 29: Line 28:
   replace('%category%', 'superior');   replace('%category%', 'superior');
  
-debug('randomnumber'); 
 debug('category'); debug('category');
  
en/create/functions/debug.txt · Last modified: 25.08.2020 12:13 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki