Class FTSHTTPLogViewer

Description

This class allows to read a log file located on a web server.

Located in /ftshttplogviewer.php (line 41)

FTSLogViewer
   |
   --FTSHTTPLogViewer
Method Summary
 FTSHTTPLogViewer __construct (string $host)
 Array retrieveLog ()
Variables

Inherited Variables

Inherited from FTSLogViewer

FTSLogViewer::$log
FTSLogViewer::$root
Methods
Constructor __construct (line 48)

Constructor

  • access: public
FTSHTTPLogViewer __construct (string $host)
  • string $host: Host : where the log was written

Redefinition of:
FTSLogViewer::__construct()
Constructor
retrieveLog (line 63)

This method reads the log in a file located on a web server

The root directory <ROOT> is defined in the configuration file. The URL will be "http://<ROOT>/<DATE>/<CHANNEL><STATE_IN_LOWERCASE>/<IDENTIFIER>.log" with <DATE> is the transfer date formatted as "YYYY-MM-DD"

  • return: : an array with each row containg a line of the log file
  • see: FTSLog
  • access: public
Array retrieveLog ()

Redefinition of:
FTSLogViewer::retrieveLog()
Retrives the log as an array

Inherited Methods

Inherited From FTSLogViewer

 FTSLogViewer::__construct()
 FTSLogViewer::getLog()
 FTSLogViewer::retrieveLog()

Documentation generated on Tue, 09 Nov 2010 10:21:10 +0100 by phpDocumentor 1.4.3