Var_Dump
[ class tree: Var_Dump ] [ index: Var_Dump ] [ all elements ]

Class: Var_Dump_Renderer_Table

Source Location: /Var_Dump-1.0.4/Var_Dump/Renderer/Table.php

Class Overview

Var_Dump_Renderer_Common
   |
   --Var_Dump_Renderer_Table

A concrete renderer for Var_Dump


Author(s):

Version:

  • CVS: $Id: Table.php 233111 2007-04-02 09:38:10Z fredericpoeydome $

Copyright:

  • 1997-2006 The PHP Group

Variables

Methods


Child classes:

Var_Dump_Renderer_XHTML_Table
A concrete renderer for Var_Dump
Var_Dump_Renderer_HTML4_Table
A concrete renderer for Var_Dump

Inherited Variables

Inherited Methods

Class: Var_Dump_Renderer_Common

Var_Dump_Renderer_Common::initialize()
Initialize internal data structures for the rendering.
Var_Dump_Renderer_Common::setOptions()
Set run-time configuration options for the renderer
Var_Dump_Renderer_Common::toString()
Returns the string representation of a variable

Class Details

[line 60]
A concrete renderer for Var_Dump

Returns a table-based representation of a variable in HTML



[ Top ]


Class Variables

$defaultOptions = array(
        'show_caption'     => TRUE,
        'show_eol'         => FALSE,
        'before_num_key'   => '',
        'after_num_key'    => '',
        'before_str_key'   => '',
        'after_str_key'    => '',
        'before_type'      => '',
        'after_type'       => '',
        'before_value'     => '',
        'after_value'      => '',
        'start_table'      => '<table>',
        'end_table'        => '</table>',
        'start_tr'         => '<tr>',
        'end_tr'           => '</tr>',
        'start_tr_alt'     => '<tr>',
        'end_tr_alt'       => '</tr>',
        'start_td_key'     => '<td>',
        'end_td_key'       => '</td>',
        'start_td_type'    => '<td>',
        'end_td_type'      => '</td>',
        'start_td_value'   => '<td>',
        'end_td_value'     => '</td>',
        'start_td_colspan' => '<td colspan="2">',
        'end_td_colspan'   => '</td>',
        'start_caption'    => '<caption>',
        'end_caption'      => '</caption>'
    )

[line 97]

Default configuration options.

Valid configuration options are : show_caption : bool, Show the caption or not show_eol : string, String to insert before a newline, or false before_num_key : string, Text to insert before a numerical key after_num_key : string, Text to insert after a numerical key before_str_key : string, Text to insert before a string key after_str_key : string, Text to insert after a string key before_type : string, Text to insert before a type after_type : string, Text to insert after a type before_value : string, Text to insert before a value after_value : string, Text to insert after a value start_table : string, Text to insert before the table end_table : string, Text to insert after the table start_tr : string, Text to insert before a row end_tr : string, Text to insert after a row start_tr_alt : string, Text to insert after an alternate row end_tr_alt : string, Text to insert after an alternate row start_td_key : string, Text to insert before the key cell end_td_key : string, Text to insert after the key cell start_td_type : string, Text to insert before the type cell end_td_type : string, Text to insert after the type cell start_td_value : string, Text to insert before the value cell end_td_value : string, Text to insert after the value cell start_td_colspan : string, Text to insert before a group cell end_td_colspan : string, Text to insert after a group cell start_caption : string, Text to insert before the caption end_caption : string, Text to insert after the caption

  • Access: public

Type:   array
Overrides:   Array


[ Top ]



Method Detail

Var_Dump_Renderer_Table (Constructor)   [line 132]

Var_Dump_Renderer_Table Var_Dump_Renderer_Table( [array $options = array()])

Class constructor.
  • Access: public

Parameters:

array   $options   —  Parameters for the rendering.

[ Top ]

toString   [line 143]

string toString( )

Returns the string representation of a variable
  • Return: The string representation of the variable.
  • Access: public

Overrides Var_Dump_Renderer_Common::toString() (Returns the string representation of a variable)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:38:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.