function HTTP_Request_Listener::update in Flickr API 5
This method is called when Listener is notified of an event
@access public
@abstract
Parameters
object an object the listener is attached to:
string Event name:
mixed Additional data:
File
- phpFlickr/
PEAR/ HTTP/ Request/ Listener.php, line 96
Class
- HTTP_Request_Listener
- Listener for HTTP_Request and HTTP_Response objects
Code
function update(&$subject, $event, $data = null) {
echo "Notified of event: '{$event}'\n";
if (null !== $data) {
echo "Additional data: ";
var_dump($data);
}
}