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

Class: Var_Dump_Renderer_Text

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

Class Overview

Var_Dump_Renderer_Common
   |
   --Var_Dump_Renderer_Text

A concrete renderer for Var_Dump


Author(s):

Version:

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

Copyright:

  • 1997-2006 The PHP Group

Variables

Methods


Child classes:

Var_Dump_Renderer_XHTML_Text
A concrete renderer for Var_Dump
Var_Dump_Renderer_HTML4_Text
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 text-only representation of a variable



[ Top ]


Class Variables

$defaultOptions = array(
        'show_container'  => TRUE,
        'show_eol'        => FALSE,
        'mode'            => 'compact',
        'offset'          => 2,
        'opening'         => '{',
        'closing'         => '}',
        'operator'        => ' => ',
        'is_html'         => FALSE,
        'before_text'     => '',
        'after_text'      => '',
        'before_num_key'  => '',
        'after_num_key'   => '',
        'before_str_key'  => '',
        'after_str_key'   => '',
        'before_operator' => '',
        'after_operator'  => '',
        'before_type'     => '',
        'after_type'      => '',
        'before_value'    => '',
        'after_value'     => ''
    )

[line 94]

Default configuration options.

Valid configuration options are : show_container : bool, Show the root Element or not show_eol : string, String to insert before a newline, or false mode : string, Can be one of the following displaying modes 'compact' = no keys alignment 'normal' = keys alignment, proportional spacing 'wide' = keys alignment, wider spacing offset : integer, Offset between the start of a group and the content opening : string, Opening character closing : string, Closing character operator : string, Operator symbol is_html : bool, Do we need to htmlspecialchars() the texts before_text : string, Text to insert before the text after_text : string, Text to insert after the text 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_operator : string, Text to insert before the operator after_operator : string, Text to insert after the operator 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

  • Access: public

Type:   array
Overrides:   Array


[ Top ]



Method Detail

Var_Dump_Renderer_Text (Constructor)   [line 123]

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

Class constructor.
  • Access: public

Parameters:

array   $options   —  Parameters for the rendering.

[ Top ]

toString   [line 134]

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.