DB_NestedSet::removeListener()
-- Removes an event listener
Description
Removes the event listener with the given ID
Parameter
- string
$event
The ivent name
- string
$listenerID
The listener's ID
Throws
throws
no exceptions thrown
Note
This function can not be called
statically.
Example
Example 36-1. Remove Listener require_once('DB/NestedSet.php');
$nestedSet =& DB_NestedSet::factory('DB', $dsn, $params);
$nestedSet->AddListener("nodeCreate", "listener");
$nestedSet->RemoveListener("nodeCreate", "listener"); |
|