squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

MessageHeader.class.php
Go to the documentation of this file.
1 <?php
2 
30  var $type0 = '';
35  var $type1 = '';
40  var $parameters = array();
44  var $id = 0;
48  var $description = '';
52  var $encoding='';
57  var $size = 0;
61  var $md5='';
65  var $disposition = '';
69  var $language='';
70 
76  function setVar($var, $value) {
77  $this->{$var} = $value;
78  }
79 
85  function getParameter($p) {
86  $value = strtolower($p);
87  return (isset($this->parameters[$p]) ? $this->parameters[$p] : '');
88  }
89 
95  function setParameter($parameter, $value) {
96  $this->parameters[strtolower($parameter)] = $value;
97  }
98 }
99 
MessageHeader\$parameters
$parameters
Definition: MessageHeader.class.php:40
MessageHeader\getParameter
getParameter($p)
Definition: MessageHeader.class.php:85
MessageHeader\$md5
$md5
Definition: MessageHeader.class.php:61
MessageHeader\$language
$language
Definition: MessageHeader.class.php:69
MessageHeader\$encoding
$encoding
Definition: MessageHeader.class.php:52
MessageHeader\$type1
$type1
Definition: MessageHeader.class.php:35
MessageHeader\setVar
setVar($var, $value)
Definition: MessageHeader.class.php:76
MessageHeader\$type0
$type0
Definition: MessageHeader.class.php:30
MessageHeader\$id
$id
Definition: MessageHeader.class.php:44
MessageHeader\setParameter
setParameter($parameter, $value)
Definition: MessageHeader.class.php:95
MessageHeader
Definition: MessageHeader.class.php:25
MessageHeader\$size
$size
Definition: MessageHeader.class.php:57
MessageHeader\$disposition
$disposition
Definition: MessageHeader.class.php:65
MessageHeader\$description
$description
Definition: MessageHeader.class.php:48