Checking in inital code base
[viewsvn.git] / includes / imaginary.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # ViewSVN [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
12
13 /**
14 * Mimics functions that will later become the language
15 * independence system and error system
16 *
17 * @pacakge ViewSVN
18 */
19
20 /**
21 * Imaginary class that does error reporting and language
22 * independence
23 *
24 * @package ViewSVN
25 * @version $Id$
26 */
27 class Imaginary
28 {
29 /**
30 * Mimics the error reporting function
31 *
32 * @access public
33 *
34 * @param string Error
35 *
36 * @return string Error
37 */
38 function error($error)
39 {
40 trigger_error($error, E_USER_ERROR);
41 }
42 }
43
44 /*=====================================================================*\
45 || ###################################################################
46 || # $HeadURL$
47 || # $Id$
48 || ###################################################################
49 \*=====================================================================*/
50 ?>