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