Gumbo_Debug_Server

Gumbo_Factory
   |
   --Gumbo_Debug_Server

Debug Server Class

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Implements interfaces:

Inherited Methods

Class Variables

static Gumbo_Interface_Debug_Server $_instance =  null [line 41]
Gumbo_Interface_Debug_Server_Report $_reports =  false [line 44]

Class Methods

public static Gumbo_Interface_Debug_Server instance ( ) [line 57]

Singleton Method


[ Top ]
private Gumbo_Debug_Server __construct ( ) [line 51]

Constructor


[ Top ]
public void activate ( string $report, [arr $args] ) [line 110]

Activates a Server Report

Parameter(s):

  • (string) $report :: Debug Server Report Name
  • (arr) $args :: additional arguments

[ Top ]
public void deactivate ( string $report ) [line 139]

Deactivates a Server Report

Parameter(s):

  • (string) $report :: Debug Server Report Name
  • throws:  Gumbo_Exception

[ Top ]
public void display ( ) [line 167]

Displays to the browser


[ Top ]
public bool exists ( string $report ) [line 249]

Returns if the Report exists

Parameter(s):

  • (string) $report
  • throws:  Gumbo_Exception

[ Top ]
public Gumbo_Interface_Debug_Server_Report factory ( [string $name], [mixed $args] ) [line 75]

Returns a Debug Server Report

Parameter(s):

  • (string) $name :: name of Class or key string
  • (mixed) $args :: additional arguments
Overrides
Gumbo_Factory::factory()

[ Top ]
public string fetch ( [bool $reload] ) [line 176]

Returns the formatted text to the browser

Parameter(s):

  • (bool) $reload :: reloads the output

[ Top ]
public Gumbo_Interface_Debug_Server_Report getReport ( string $report ) [line 196]

Returns a single Report

Parameter(s):

  • (string) $report
  • throws:  Gumbo_Exception

[ Top ]
public Gumbo_Interface_Debug_Server_Report[] getReports ( ) [line 218]

Returns the Debug Server Reports


[ Top ]
public bool isActive ( string $report ) [line 228]

Returns if a particular Report is active

Parameter(s):

  • (string) $report
  • throws:  Gumbo_Exception

[ Top ]
public void reset ( ) [line 160]

Resets the Reports

  • postcondition:  !isActive()

[ Top ]
public string __toString ( ) [line 271]

Returns the object as a string


[ Top ]