cacert-testmgr/external/ZendFramework-1.9.5/tests/Zend/View/_templates/testParent.phtml
Markus Warg 8398c9048d initially import ZendFramework-1.9.5 into repository
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
2010-03-31 10:12:32 +02:00

11 lines
407 B
PHTML

<?php
require_once 'PHPUnit/Util/Filter.php';
PHPUnit_Util_Filter::addFileToFilter(__FILE__);
$content = $this->render($this->content);
require_once 'Zend/Log.php';
require_once 'Zend/Log/Writer/Stream.php';
$logger = new Zend_Log(new Zend_Log_Writer_Stream(dirname(__FILE__) . '/view.log'));
$logger->log(var_export($content, 1), Zend_Log::DEBUG);
$logger->log(var_export(__FILE__, 1), Zend_Log::DEBUG);