Adopting the GPL
[viewsvn.git] / includes / imaginary.php
1 <?php
2 /*=====================================================================*\
3 || ###################################################################
4 || # ViewSVN [#]version[#]
5 || # Copyright ©2002-[#]year[#] Iris Studios, Inc.
6 || #
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
10 || #
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 || # more details.
15 || #
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
21
22 /**
23 * Mimics functions that will later become the language
24 * independence system and error system
25 *
26 * @pacakge ViewSVN
27 */
28
29 /**
30 * Imaginary class that does error reporting and language
31 * independence
32 *
33 * @package ViewSVN
34 * @version $Id$
35 */
36 class Imaginary
37 {
38 /**
39 * Mimics the error reporting function
40 *
41 * @access public
42 *
43 * @param string Error
44 *
45 * @return string Error
46 */
47 function error($error)
48 {
49 trigger_error($error, E_USER_ERROR);
50 }
51 }
52
53 /*=====================================================================*\
54 || ###################################################################
55 || # $HeadURL$
56 || # $Id$
57 || ###################################################################
58 \*=====================================================================*/
59 ?>