| // +----------------------------------------------------------------------+ // // $Id$ require_once 'Var_Dump/Renderer/Table.php'; /** * A concrete renderer for Var_Dump * * Returns a table-based representation of a variable in HTML 4 * Extends the 'Table' renderer, with just a predefined set of options, * that are empty by default. You can also directly call the 'Table' renderer * with the corresponding configuration options. * * @package Var_Dump * @category PHP * @author Frederic Poeydomenge */ class Var_Dump_Renderer_HTML4_Table extends Var_Dump_Renderer_Table { /** * Class constructor. * * @param array $options Parameters for the rendering. * @access public */ function Var_Dump_Renderer_HTML4_Table($options = array()) { // See Var_Dump/Renderer/Table.php for the complete list of options $this->defaultOptions = array_merge( $this->defaultOptions, array( 'before_num_key' => '', 'after_num_key' => '', 'before_str_key' => '', 'after_str_key' => '', 'before_type' => '', 'after_type' => '', 'before_value' => '', 'after_value' => '', 'start_table' => '
' . '', 'end_table' => '
', 'start_tr' => '', 'start_tr_alt' => '', 'start_td_key' => '', 'start_caption' => '' ) ); $this->setOptions($options); } } ?>