PHP_CompatInfo_Parser::removeListener

PHP_CompatInfo_Parser::removeListener() – Removes a registered listener

Synopsis

require_once 'PHP/CompatInfo/Parser.php';

bool PHP_CompatInfo_Parser::removeListener ( mixed $callback , string $nName = EVENT_DISPATCHER_GLOBAL )

Description

Removes a registered listener that correspond to the given criteria.

Parameter

mixed $callback

A PHP callback

string $nName

(optional) Expected notification name

Return value

returns True if listener was removed, false otherwise.

Throws

throws no exceptions thrown

Since

since version 1.8.0b2 (2008-06-03)

Note

This function can not be called statically.

Registers a new listener (Previous) Post a new notification to all listeners registered (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.