| // +----------------------------------------------------------------------+ // // $Id$ require_once 'Var_Dump/Renderer/Text.php'; /** * A concrete renderer for Var_Dump * * Returns a text representation of a variable in XHTML * Extends the 'Text' renderer, with just a predefined set of options, * that are empty by default. You can also directly call the 'Text' renderer * with the corresponding configuration options. * * @package Var_Dump * @category PHP * @author Frederic Poeydomenge */ class Var_Dump_Renderer_XHTML_Text extends Var_Dump_Renderer_Text { /** * Class constructor. * * @param array $options Parameters for the rendering. * @access public */ function Var_Dump_Renderer_XHTML_Text($options = array()) { // See Var_Dump/Renderer/Text.php for the complete list of options $this->defaultOptions = array_merge( $this->defaultOptions, array( 'is_html' => TRUE, 'before_text' => '
',
                'after_text'   => '
', 'before_type' => '', 'after_type' => '', 'before_value' => '', 'after_value' => '' ) ); $this->setOptions($options); } } ?>