| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Disposition.class.php |
| 5 | * |
| 6 | * Copyright (c) 2003-2005 The SquirrelMail Project Team |
| 7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 8 | * |
| 9 | * This contains functions needed to handle mime messages. |
| 10 | * |
| 11 | * @version $Id$ |
| 12 | * @package squirrelmail |
| 13 | */ |
| 14 | |
| 15 | /** |
| 16 | * Undocumented class |
| 17 | * @package squirrelmail |
| 18 | */ |
| 19 | class Disposition { |
| 20 | function Disposition($name) { |
| 21 | $this->name = $name; |
| 22 | $this->properties = array(); |
| 23 | } |
| 24 | |
| 25 | function getProperty($par) { |
| 26 | $value = strtolower($par); |
| 27 | if (isset($this->properties[$par])) { |
| 28 | return $this->properties[$par]; |
| 29 | } |
| 30 | return ''; |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | ?> |