bf005697774030758e09ab55c439dba3dc3986f6
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
13 * @package squirrelmail
16 * @todo find rfc number
20 * Class that handles content disposition header
21 * @package squirrelmail
24 * @todo FIXME: do we have to declare vars ($name and $properties)?
28 * Constructor function
31 function Disposition($name) {
33 $this->properties
= array();
37 * Returns value of content disposition property
38 * @param string $par content disposition property name
42 function getProperty($par) {
43 $value = strtolower($par);
44 if (isset($this->properties
[$par])) {
45 return $this->properties
[$par];