DB_NestedSet::removeListener

DB_NestedSet::removeListener() – Removes an event listener

Synopsis

require_once 'DB/NestedSet.php';

bool DB_NestedSet::removeListener ( string $event , string $listenerID )

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

Remove Listener

<?php
require_once('DB/NestedSet.php');
    
$nestedSet =& DB_NestedSet::factory('DB'$dsn$params);
    
$nestedSet->AddListener("nodeCreate""listener");
    
$nestedSet->RemoveListener("nodeCreate""listener");
?>