databaseInterfaceFactory Class Reference

List of all members.

Static Public Member Functions

static getInterface ()


Detailed Description

Definition at line 89 of file aliroDatabase.php.


Member Function Documentation

static databaseInterfaceFactory::getInterface (  )  [static]

Definition at line 91 of file aliroDatabase.php.

Referenced by aliroAbstractDatabase::__construct().

00091                                            {
00092         if (function_exists( 'mysqli_connect' )) return new mysqliInterface;
00093         if (function_exists( 'mysql_connect' )) return new mysqlInterface;
00094         return  null;
00095     }


The documentation for this class was generated from the following file:

Generated on Thu Apr 17 13:03:31 2008 for ALIRO by  doxygen 1.5.5