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

Class: Net_FTP_Observer

Source Location: /Net_FTP-1.3.0beta4/Net/FTP/Observer.php

Class Overview


This class implements the Observer part of a Subject-Observer design pattern. It listens to the events sent by a Net_FTP instance.


Author(s):

Version:

  • 1.3

Methods


Inherited Variables

Inherited Methods


Class Details

[line 22]
This class implements the Observer part of a Subject-Observer design pattern. It listens to the events sent by a Net_FTP instance.

This module had many influences from the Log_observer code.



[ Top ]


Method Detail

Net_FTP_Observer (Constructor)   [line 39]

Net_FTP_Observer Net_FTP_Observer( )

Creates a new basic Net_FTP_Observer instance.
  • Since: 1.3
  • Access: public

[ Top ]

getId   [line 51]

string getId( )

Returns the listener's identifier
  • Since: 1.3
  • Access: public

[ Top ]

notify   [line 67]

void notify( mixed $event)

This is a stub method to make sure that Net_FTP_Observer classes do something when they are notified of a message. The default behavior is to just do nothing.

You should override this method.

  • Since: 1.3
  • Access: public

Parameters:

mixed   $event   —  A hash describing the net event.

[ Top ]


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