/* ========================== Private ======================= */
/**
- * Constructor
+ * Constructor (PHP5 style, required in some future version of PHP)
* @param array $param backend options
* @return bool
*/
- function abook_local_file($param) {
+ function __construct($param) {
$this->sname = _("Personal Address Book");
$this->umask = Umask();
}
}
+ /**
+ * Constructor (PHP4 style, kept for compatibility reasons)
+ * @param array $param backend options
+ * @return bool
+ */
+ function abook_local_file($param) {
+ return self::__construct($param);
+ }
+
/**
* Open the addressbook file and store the file pointer.
* Use $file as the file to open, or the class' own