adding index files in order to prevent directory listing.
[squirrelmail.git] / class / mime / Disposition.class.php
index 1a4194c70a82ec22f12eca7d60b654095685a191..bf005697774030758e09ab55c439dba3dc3986f6 100644 (file)
@@ -3,25 +3,42 @@
 /**
  * Disposition.class.php
  *
 /**
  * Disposition.class.php
  *
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
+ * Copyright (c) 2003-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * 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.
  *
  *
- * $Id$
+ * @version $Id$
  * @package squirrelmail
  * @package squirrelmail
+ * @subpackage mime
+ * @since 1.3.2
+ * @todo find rfc number
  */
 
 /**
  */
 
 /**
- * Undocumented class
+ * Class that handles content disposition header
  * @package squirrelmail
  * @package squirrelmail
+ * @subpackage mime
+ * @since 1.3.0
+ * @todo FIXME: do we have to declare vars ($name and $properties)?
  */
 class Disposition {
  */
 class Disposition {
+    /**
+     * Constructor function
+     * @param string $name
+     */
     function Disposition($name) {
        $this->name = $name;
        $this->properties = array();
     }
 
     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])) {
     function getProperty($par) {
         $value = strtolower($par);
         if (isset($this->properties[$par])) {
@@ -31,4 +48,4 @@ class Disposition {
     }
 }
 
     }
 }
 
-?>
+?>
\ No newline at end of file