DB_NestedSet::removeListener()
-- Removes an event listener
Description
Removes the event listener with the given ID
Paramètres
- chaîne de caractères
$event
The ivent name
- chaîne de caractères
$listenerID
The listener's ID
Valeurs renvoyées
throws
no exceptions thrown
Note
Cette fonction ne peut pas être appelée de façon statique.
Exemple
Exemple 39-1. Remove Listener require_once('DB/NestedSet.php');
$nestedSet =& DB_NestedSet::factory('DB', $dsn, $params);
$nestedSet->AddListener("nodeCreate", "listener");
$nestedSet->RemoveListener("nodeCreate", "listener"); |
|