PEAR logo

PHP_CompatInfo : The Definitive Guide

Name

PHP_CompatInfo_Parser::notifyListeners — Post a new notification to all listeners registered

Synopsis

    require_once 'PHP/CompatInfo/Parser.php';
   
void PHP_CompatInfo_Parser::notifyListeners ( $event,  
  $info = array() );  
string   $event ;
array   $info = array() ;

Description

This notification occured only if a dispatcher exists. That means if at least one listener was registered.

Parameter

string $event

Name of the notification handler

array $info

(optional) Additional information about the notification

Return value

returns void

Throws

throws no exceptions thrown

Since

since version 1.8.0b2 (2008-06-03)

Note

This function can not be called statically.

PHP_CompatInfo : The Definitive Guide v 1.8.0 : August 1, 2008