19d470aa |
1 | <?php |
2 | |
3 | /** |
4 | * Disposition.class.php |
5 | * |
82d304a0 |
6 | * Copyright (c) 2003-2004 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 | * |
883d9cd3 |
11 | * @version $Id$ |
2b646597 |
12 | * @package squirrelmail |
19d470aa |
13 | */ |
14 | |
2b646597 |
15 | /** |
16 | * Undocumented class |
17 | * @package squirrelmail |
18 | */ |
19d470aa |
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 | ?> |