PHP Classes

File: _classes/EventExporter.class.php

Recommend this page to a friend!
  Classes of Marius Zadara   Logger   _classes/EventExporter.class.php   Download  
File: _classes/EventExporter.class.php
Role: Class source
Content type: text/plain
Description: Event exporter definition
Class: Logger
Filter and export data of application events
Author: By
Last change:
Date: 15 years ago
Size: 839 bytes
 

Contents

Class file image Download
<?php

/**
 * Abstract event exporter.
 * This class sets the base of custom event exporters.
 * These exporters will actually export the event to the final destination.
 *
 * @author Marius Zadara <marius@zadara.org>
 * @category org.zadara.marius.logger.classes
 * @copyright (C) 2008 Marius Zadara <marius@zadara.org>
 * @license GNU GPL
 * @package org.zadara.marius.logger
 * @abstract
 *
 */
abstract class EventExporter
{
   
/**
     * Class contructor
     * @return EventExporter
     */
   
public function EventExporter()
    {
       
// nothing special to do
   
}

   
/**
     * Abstract method used to export the event.
     * This method will be (and must be) implemented by the custom exporters;
     *
     * @param Event $event The event to export
     * @see Event
     */
   
public abstract function doExport($event);
}


?>