HTTP_Request
[ class tree: HTTP_Request ] [ index: HTTP_Request ] [ all elements ]

Class: HTTP_Request_Listener

Source Location: /HTTP_Request-1.4.4/Request/Listener.php

Class Overview


Listener for HTTP_Request and HTTP_Response objects


Author(s):

Version:

  • Release: 1.4.4

Methods


Inherited Variables

Inherited Methods


Class Details

[line 57]
Listener for HTTP_Request and HTTP_Response objects

This class implements the Observer part of a Subject-Observer design pattern.

  • Author: Alexey Borzov <avb@php.net>
  • Version: Release: 1.4.4


[ Top ]


Method Detail

HTTP_Request_Listener (Constructor)   [line 70]

HTTP_Request_Listener HTTP_Request_Listener( )

Constructor, sets the object's identifier
  • Access: public

[ Top ]

getId   [line 82]

string getId( )

Returns the listener's identifier
  • Access: public

[ Top ]

update   [line 97]

void update( object an &$subject, string $event, [mixed $data = null])

This method is called when Listener is notified of an event
  • Abstract:
  • Access: public

Parameters:

object an   &$subject   —  object the listener is attached to
string   $event   —  Event name
mixed   $data   —  Additional data

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:26:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.