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