19d470aa |
1 | <?php |
2 | |
3 | /** |
4 | * Disposition.class.php |
5 | * |
76911253 |
6 | * Copyright (c) 2003 The SquirrelMail Project Team |
19d470aa |
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 | * $Id$ |
12 | */ |
13 | |
14 | class Disposition { |
15 | function Disposition($name) { |
16 | $this->name = $name; |
17 | $this->properties = array(); |
18 | } |
19 | |
20 | function getProperty($par) { |
21 | $value = strtolower($par); |
22 | if (isset($this->properties[$par])) { |
23 | return $this->properties[$par]; |
24 | } |
25 | return ''; |
26 | } |
27 | } |
28 | |
29 | ?> |