loganalyzer/classes/enums.class.php
2008-03-11 12:04:04 +01:00

32 lines
796 B
PHP

<?php
/*
*********************************************************************
* Copyright by Adiscon GmbH | 2008! *
* -> www.phplogcon.org <- *
* *
* Use this script at your own risk! *
* ----------------------------------------------------------------- *
* Since php does not support enums we emulate it *
* using a abstract class. *
* *
* All directives are explained within this file *
*********************************************************************
*/
// --- Avoid directly accessing this file!
if ( !defined('IN_PHPLOGCON') )
{
die('Hacking attempt');
exit;
}
// ---
/**
* ENUM of available ReadDirection.
*/
abstract class EnumReadDirection {
const Forward = 1;
const Backward = 2;
}
?>