12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- /**
- * Language.class.php
- *
- * This file should contain class needed to handle Language properties in
- * mime messages. I suspect that it is RFC2231
- *
- * @copyright 2003-2025 The SquirrelMail Project Team
- * @license http://opensource.org/licenses/gpl-license.php GNU Public License
- * @version $Id$
- * @package squirrelmail
- * @subpackage mime
- * @since 1.3.2
- */
- /**
- * Class that can be used to handle language properties in MIME headers.
- *
- * @package squirrelmail
- * @subpackage mime
- * @since 1.3.0
- */
- class Language {
- var $name;
- var $properties;
- /**
- * Constructor (PHP5 style, required in some future version of PHP)
- * @param mixed $name
- */
- function __construct($name) {
- /** @var mixed */
- $this->name = $name;
- /**
- * Language properties
- * @var array
- */
- $this->properties = array();
- }
- /**
- * Constructor (PHP4 style, kept for compatibility reasons)
- * @param string $name
- */
- function Language($name) {
- self::__construct($name);
- }
- }
|