You are here

function HTTP_Response::_notify in Flickr API 5

Notifies all registered listeners of an event.

@access private

Parameters

string Event name:

mixed Additional data:

See also

HTTP_Request::_notify()

1 call to HTTP_Response::_notify()
HTTP_Response::process in phpFlickr/PEAR/HTTP/Request.php
Processes a HTTP response

File

phpFlickr/PEAR/HTTP/Request.php, line 1377

Class

HTTP_Response
Response class to complement the Request class

Code

function _notify($event, $data = null) {
  foreach (array_keys($this->_listeners) as $id) {
    $this->_listeners[$id]
      ->update($this, $event, $data);
  }
}