one more identity action to process
[squirrelmail.git] / class / mime / Disposition.class.php
index f2cdaa4446b5f5736ade0a7f360755157d227413..86bbf70229267106e27345995759771d44863c50 100644 (file)
@@ -3,20 +3,41 @@
 /**
  * Disposition.class.php
  *
- * Copyright (c) 2002 The SquirrelMail Project Team
+ * Copyright (c) 2003-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
- * This contains functions needed to handle mime messages.
+ * This file contains functions needed to handle content disposition headers 
+ * in mime messages. See RFC 2183.
  *
- * $Id$
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage mime
+ * @since 1.3.2
  */
 
+/**
+ * Class that handles content disposition header
+ * @package squirrelmail
+ * @subpackage mime
+ * @since 1.3.0
+ * @todo FIXME: do we have to declare vars ($name and $properties)?
+ */
 class Disposition {
+    /**
+     * Constructor function
+     * @param string $name
+     */
     function Disposition($name) {
        $this->name = $name;
        $this->properties = array();
     }
 
+    /**
+     * Returns value of content disposition property
+     * @param string $par content disposition property name
+     * @return string
+     * @since 1.3.1
+     */
     function getProperty($par) {
         $value = strtolower($par);
         if (isset($this->properties[$par])) {
@@ -26,4 +47,4 @@ class Disposition {
     }
 }
 
-?>
+?>
\ No newline at end of file