Disposition.class.php 655 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Disposition.class.php
  4. *
  5. * Copyright (c) 2003-2004 The SquirrelMail Project Team
  6. * Licensed under the GNU GPL. For full terms see the file COPYING.
  7. *
  8. * This contains functions needed to handle mime messages.
  9. *
  10. * @version $Id$
  11. * @package squirrelmail
  12. */
  13. /**
  14. * Undocumented class
  15. * @package squirrelmail
  16. */
  17. class Disposition {
  18. function Disposition($name) {
  19. $this->name = $name;
  20. $this->properties = array();
  21. }
  22. function getProperty($par) {
  23. $value = strtolower($par);
  24. if (isset($this->properties[$par])) {
  25. return $this->properties[$par];
  26. }
  27. return '';
  28. }
  29. }
  30. ?>