Don't start message ID with a dot when no remote port is available
[squirrelmail.git] / class / mime / MessageHeader.class.php
index 51000744ea48c3603ba21932bee9dcf93c9119e3..dff28c5a5a69a436dfb9207af9698a75b111de42 100644 (file)
@@ -3,11 +3,10 @@
 /**
  * MessageHeader.class.php
  *
- * Copyright (c) 2003-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * This file contains functions needed to handle headers in mime messages.
  *
+ * @copyright © 2003-2007 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage mime
  * @package squirrelmail
  * @subpackage mime
  * @since 1.3.2
- * @todo document vars
  */
 class MessageHeader {
-    var $type0 = '',
-        $type1 = '',
-        $parameters = array(),
-        $id = 0,
-        $description = '',
-        $encoding='',
-        $size = 0,
-        $md5='',
-        $disposition = '',
-        $language='';
+    /**
+     * Media type
+     * @var string
+     */
+    var $type0 = '';
+    /**
+     * Media subtype
+     * @var string
+     */
+    var $type1 = '';
+    /**
+     * Content type parameters
+     * @var array
+     */
+    var $parameters = array();
+    /**
+     * @var mixed
+     */
+    var $id = 0;
+    /**
+     * @var string
+     */
+    var $description = '';
+    /**
+     * @var string
+     */
+    var $encoding='';
+    /**
+     * Message size
+     * @var integer
+     */
+    var $size = 0;
+    /**
+     * @var string
+     */
+    var $md5='';
+    /**
+     * @var mixed
+     */
+    var $disposition = '';
+    /**
+     * @var mixed
+     */
+    var $language='';
 
     /**
      * Sets header variable
@@ -64,5 +96,3 @@ class MessageHeader {
         $this->parameters[strtolower($parameter)] = $value;
     }
 }
-
-?>
\ No newline at end of file