Property | Type | Description | |
---|---|---|---|
$adapter | mixed | Default database adapter object | |
$isPdo | boolean | Flag for a PDO adapter |
Method | Description | |
---|---|---|
__construct ( string $type, array $options, string $prefix = 'Pop\Db\Adapter\' ) : |
Constructor | |
adapter ( ) : mixed | Get the database adapter. | |
factory ( string $type, array $options, string $prefix = 'Pop\Db\Adapter\' ) : |
Determine whether or not an instance of the DB object exists already, and instantiate the object if it doesn't exist. | |
getAdapterType ( ) : string | Get the database adapter type. | |
isPdo ( ) : boolean | Get the PDO flag |
public getAdapterType ( ) : string | ||
return | string |
protected mixed $adapter | ||
return | mixed |