PEAR Manual
Prev |  | Next

# Event_Dispatcher::getName()

Event_Dispatcher::getName() -- Get the name of the dispatcher.

## Synopsis

    require_once 'Event/Dispatcher.php';

``string Event_Dispatcher::getName` ()`

## Description

Get the name of the dispatcher.

The name of the dispatcher is used as a unique identifier. This is important for the methods getInstance() and removeNestedDispatcher().

## Return value

string name of the dispatcher

## Note

This function can not be called statically.

Prev | Home | Next
Event_Dispatcher::getInstance() | Up | Event_Dispatcher::addObserver()