function NodeDisplaysRegions::_debugHelper in Node displays 6
Same name and namespace in other branches
- 6.3 tests/nd.regions.test \NodeDisplaysRegions::_debugHelper()
- 6.2 tests/nd.regions.test \NodeDisplaysRegions::_debugHelper()
Debug helper function. Writes values away to a text file in the files directory.
File
- tests/
nd.regions.test, line 30 - Tests for Node displays (regions)
Class
- NodeDisplaysRegions
- @file Tests for Node displays (regions)
Code
function _debugHelper($value, $writetype = 'a+') {
$debug = fopen($this->originalFileDirectory . '/simpletestdebug.txt', 'a+');
fwrite($debug, print_r($value, TRUE) . "\n");
fclose($debug);
}