This class implements the Observer part of a Subject-Observer design pattern. It listens to the events sent by a ftpClient instance. This module had many influences from the Log_observer code.
This is a port of the Net_FTP_Observer PEAR class to be fully PHP5 compliant. It revises the error model to throw exceptions as well as tidying up the options.
public __construct()
Creates a new basic Net_FTP_Observer instance.
public getId()
Returns the listener's identifier
public abstract notify($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.
Posted by: Scorpio Documentor (Writer), in Ftp on 19 Nov 2009 @ 20:30
Tags: ftp, ftpclientobserver,
This
work is licenced under a
Creative Commons Licence.