86bbf70229267106e27345995759771d44863c50
4 * Disposition.class.php
6 * Copyright (c) 2003-2005 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
9 * This file contains functions needed to handle content disposition headers
10 * in mime messages. See RFC 2183.
13 * @package squirrelmail
19 * Class that handles content disposition header
20 * @package squirrelmail
23 * @todo FIXME: do we have to declare vars ($name and $properties)?
27 * Constructor function
30 function Disposition($name) {
32 $this->properties
= array();
36 * Returns value of content disposition property
37 * @param string $par content disposition property name
41 function getProperty($par) {
42 $value = strtolower($par);
43 if (isset($this->properties
[$par])) {
44 return $this->properties
[$par];