mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
@@ -3002,11 +3002,11 @@
|
||||
* {@link database::connect()}</p>
|
||||
* <p><b>Usage:</b><br>
|
||||
* <code> $database_object = database::new();</code></p>
|
||||
* @return database reference to a new instance of database object
|
||||
* @return database new instance of database object already connected
|
||||
* @see database::__construct()
|
||||
* @see database::connect()
|
||||
*/
|
||||
public static function &new() {
|
||||
public static function new() {
|
||||
$db = new database();
|
||||
$db->connect();
|
||||
return $db;
|
||||
|
||||
Reference in New Issue
Block a user