Source for file Renderer.php
Documentation is available at Renderer.php
require_once 'Debug/Renderer/Common.php';
* A loader class for the renderers.
* @author Loic Vernet <qrf_coil at yahoo dot fr>
* Attempt to return a concrete Debug_Renderer instance.
* @param string $mode Name of the renderer.
* @param array $options Parameters for the rendering.
static function factory($debugObject, $options)
//Debug::dumpVar($options, "Debug_Renderer::options");
$className = 'Debug_Renderer_' . $options['DEBUG_render_mode'];
include_once 'Debug/Renderer/'. $options['DEBUG_render_mode']. '.php';
$obj = new $className($debugObject, $options);
PEAR::raiseError('Debug: renderer "' . $options['DEBUG_render_mode'] . '" not found', TRUE);
|