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

Class: Gtk2_ExceptionDump_InfoBox

Source Location: /Gtk2_ExceptionDump-1.0.0/Gtk2/ExceptionDump/InfoBox.php

Class Overview

GtkHBox
   |
   --Gtk2_ExceptionDump_InfoBox

Information box with icon and the exception message.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 7]
Information box with icon and the exception message.


[ Top ]


Method Detail

__construct (Constructor)   [line 14]

Gtk2_ExceptionDump_InfoBox __construct( [mixed $exception = null])

Creates a new InfoBox and sets the exception.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error

[ Top ]

build   [line 28]

void build( )

Sets up the child widgets.
  • Access: protected

[ Top ]

setException   [line 58]

void setException( mixed $exception)

Sets and displays the exception.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error

[ Top ]

setMessage   [line 85]

void setMessage( string $message, [string $userinfo = ''])

Explicitely sets a message to display, not an exception.

Can be used to tell the user that no exception occured, but a normal variable has been passed.

  • Access: public

Parameters:

string   $message   —  The message to display
string   $userinfo   —  User information text that is display when expanding the label.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:55:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.