PHP Class Horde_Notification_Event, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Hans Lellelid ([email protected])
Mostrar archivo Open project: horde/horde

Public Properties

Property Type Description
$flags array The flags for this message.
$message string The message being passed.
$type string The message type.

Public Methods

Method Description
__construct ( mixed $data, string $type = null, array $flags = [] ) Constructor.
__toString ( ) : string String representation of this object.

Method Details

__construct() public method

Constructor.
public __construct ( mixed $data, string $type = null, array $flags = [] )
$data mixed Message: either a string or an Exception or PEAR_Error object.
$type string The event type.
$flags array The flag array.

__toString() public method

String representation of this object.
public __toString ( ) : string
return string String representation.

Property Details

$flags public_oe property

The flags for this message.
public array $flags
return array

$message public_oe property

The message being passed.
public string $message
return string

$type public_oe property

The message type.
public string $type
return string