git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14616
7612ce4b-ef26-0410-bec9-
ea0150e637f0
*/
class Language {
/**
- * Class constructor
+ * Constructor (PHP5 style, required in some future version of PHP)
* @param mixed $name
*/
- function Language($name) {
+ function __construct($name) {
/** @var mixed */
$this->name = $name;
/**
*/
$this->properties = array();
}
+
+ /**
+ * Constructor (PHP4 style, kept for compatibility reasons)
+ * @param string $name
+ */
+ function Language($name) {
+ self::__construct($name);
+ }
}