Source for file SumError.php

Documentation is available at SumError.php


1 <?php
2 /**
3 * @author Derick Rethans <derick@php.net>
4 * @package PHPDocExample
5 * @subpackage PHPDocExampleFunctions
6 */
7
8 /**
9 * File with utility functions
10 */
11 require_once 'utility.php';
12
13 /**
14 * The error class
15 * This error class is thrown when an error in one of the
16 * other Sum* classes occurs
17 * @author Derick Rethans <derick@php.net>
18 * @author Stig Bakken <ssb@fast.no>
19 * @copyright © 2002 by Derick Rethans
20 * @version $Id: $
21 * @package PHPDocExample
22 */
23 class SumError {
24 /**
25 * The constructor for the error class
26 * @param string $msg Error message
27 */
28 function SumError ($msg)
29 {
30 echo $msg. "\n";
31 }
32 }
33 ?>

Documentation generated on Tue, 18 Nov 2003 18:03:44 +0100 by phpDocumentor 1.2.2