Source for file SumNumberElements.php

Documentation is available at SumNumberElements.php


1 <?php
2 /**
3 * @author Derick Rethans <derick@php.net>
4 * @package PHPDocExample
5 */
6 /**
7 * Class for adding arrays of numbers
8 * Class for adding arrays of numbers
9 * @author Derick Rethans <derick@php.net>
10 * @copyright © 2002 by Derick Rethans
11 * @version $Id: $
12 * @package PHPDocExample
13 * @final
14 */
15 class SumNumberElements extends Sum {
16 /**
17 * Function which sets the result for the Summation
18 * Function which sets the result for the Summation
19 * @param mixed $elem1 The first element
20 * @param mixed $elem2 The second element
21 * @access public
22 */
23 function sumElements ($elem1, $elem2)
24 {
25 /* Uses the sumElements utility function */
26 $this->result = sumElements ($elem1, $elem2);
27 }
28 }
29 ?>

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