PHP Classes

File: _interfaces/IEvent.intf.php

Recommend this page to a friend!
  Classes of Marius Zadara   Logger   _interfaces/IEvent.intf.php   Download  
File: _interfaces/IEvent.intf.php
Role: Class source
Content type: text/plain
Description: Event interface
Class: Logger
Filter and export data of application events
Author: By
Last change:
Date: 16 years ago
Size: 1,043 bytes
 

Contents

Class file image Download
<?php

/**
 * Event interface definition.
 * This interface defines the methods that must be implemented in a Event class
 *
 * @author Marius Zadara <marius@zadara.org>
 * @category org.zadara.marius.logger.interfaces
 * @copyright (C) 2008 Marius Zadara <marius@zadara.org>
 * @license GNU GPL
 * @package org.zadara.marius.logger
 * @see Event
 */
interface IEvent
{
   
/**
     * Event id getter
     * @access public
     */
   
public function getId();

   
/**
     * Event source getter
     * @access public
     */
   
public function getSource();

   
/**
     * Event category getter
     * @access public
     */
   
public function getCategory();
   
   
/**
     * Event message getter
     * @access public
     */
   
public function getMessage();
   
   
/**
     * Event timestamp getter
     * @access public
     */
   
public function getTimestamp();

   
/**
     * Event level getter
     * @access public
     */
   
public function getLevel();
   
   
   
/**
     * Event string representation
     * @access public
     */
   
public function __toString();
   
}

?>