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