Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 48229 программистов и 1758 роботов. Сейчас ищут 924 программиста ...
PHP_CompatInfo_Parser::addListener
Вернуться к: Parser Infrastructure
PHP_CompatInfo_Parser::addListener
PHP_CompatInfo_Parser::addListener() – Registers a new listener
Synopsis
require_once 'PHP/CompatInfo/Parser.php';
void PHP_CompatInfo_Parser::addListener ( mixed $callback , string $nName = EVENT_DISPATCHER_GLOBAL )
Registers a new listener with the given criteria.
Parameter
- mixed $callback
-
A PHP callback
- string $nName
-
(optional) Expected notification name
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.
Example
see PHP_CompatInfo::addListener() example
Вернуться к: Parser Infrastructure