function sweaverThemeSettings::_debugHelper in Sweaver 6
Same name and namespace in other branches
- 7 tests/sweaver.themesettings.test \sweaverThemeSettings::_debugHelper()
Debug helper function. Writes values away to a text file in the files directory.
1 call to sweaverThemeSettings::_debugHelper()
- sweaverThemeSettings::sweaver_filesdir_scan in tests/
sweaver.themesettings.test - Scan the files directory.
File
- tests/
sweaver.themesettings.test, line 40 - Advanced tests for sweaver editor + theme settings.
Class
- sweaverThemeSettings
- @file Advanced tests for sweaver editor + theme settings.
Code
function _debugHelper($value, $writetype = 'a+') {
$debug = fopen($this->originalFileDirectory . '/simpletestdebug.txt', 'a+');
fwrite($debug, print_r($value, TRUE) . "\n");
fclose($debug);
}