squirrelmail/class/mime/Disposition.class.php
2002-12-31 12:49:43 +00:00

29 lines
561 B
PHP

<?php
/**
* Disposition.class.php
*
* Copyright (c) 2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions needed to handle mime messages.
*
* $Id$
*/
class Disposition {
function Disposition($name) {
$this->name = $name;
$this->properties = array();
}
function getProperty($par) {
$value = strtolower($par);
if (isset($this->properties[$par])) {
return $this->properties[$par];
}
return '';
}
}
?>