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