123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * ContentType.class.php
- *
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This contains functions needed to handle mime messages.
- *
- * @version $Id$
- * @package squirrelmail
- */
- /**
- * Undocumented class
- * @package squirrelmail
- */
- class ContentType {
- var $type0 = 'text',
- $type1 = 'plain',
- $properties = '';
- function ContentType($type) {
- $pos = strpos($type, '/');
- if ($pos > 0) {
- $this->type0 = substr($type, 0, $pos);
- $this->type1 = substr($type, $pos+1);
- } else {
- $this->type0 = $type;
- }
- $this->properties = array();
- }
- }
- ?>
|