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

Class: Gtk2_VarDump_List

Source Location: /Gtk2_VarDump-1.0.0/VarDump/List.php

Class Overview

GtkTreeView
   |
   --Gtk2_VarDump_ColTreeView
      |
      --Gtk2_VarDump_List

Listview for Gtk2_VarDump


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Gtk2_VarDump_ColTreeView

Gtk2_VarDump_ColTreeView::__construct()
Gtk2_VarDump_ColTreeView::createColumns()
Creates GtkTreeView columns out of an string array and appends them to the tree view.

Class Details

[line 9]
Listview for Gtk2_VarDump


[ Top ]


Method Detail

__construct (Constructor)   [line 11]

Gtk2_VarDump_List __construct( )

  • Access: public

Overrides Gtk2_VarDump_ColTreeView::__construct() (parent method not documented)
[ Top ]

appendValue   [line 100]

void appendValue( mixed $key, mixed $value)

Appends one value to the list on the right.

Arrays and objects will not be displayed, as they already appear on the tree on the left side.

  • Access: protected

Parameters:

mixed   $key   —  The title for the node
mixed   $value   —  The value to display

[ Top ]

build   [line 22]

void build( )

Create the GUI and set up all the things
  • Access: protected

[ Top ]

buildValues   [line 56]

void buildValues( mixed $variable, $name)

Adds all the children of the given $variable to the list on the right side.

Arrays and objects are not added, as they appear on the tree on the left.

  • Access: protected

Parameters:

mixed   $variable   —  The variable whose children values shall be shown
   $name   — 

[ Top ]

setVariable   [line 41]

void setVariable( mixed $variable, [string $name = ''])

Set the variable (and their name) to display.
  • Access: public

Parameters:

mixed   $variable   —  Variable to display
string   $name   —  Name of the variable

[ Top ]


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