/* ========================== Private ======================= */
/**
- * Constructor
+ * Constructor (PHP5 style, required in some future version of PHP)
* @param array $param address book backend options
*/
- function abook_database($param) {
+ function __construct($param) {
$this->sname = _("Personal Address Book");
/* test if PDO or Pear DB classes are available and freak out if necessary */
}
}
+ /**
+ * Constructor (PHP4 style, kept for compatibility reasons)
+ * @param array $param address book backend options
+ */
+ function abook_database($param) {
+ return self::__construct($param);
+ }
/**
* Open the database.