factory for database connector and other db utilities
| package |
jelix |
|---|---|
| subpackage |
db |
_createConnector(array $profile) : \jDbConnection|\jDbPDOConnection
| Throws |
|
|---|
arrayprofile properties
\jDbConnection|\jDbPDOConnectiondatabase connector
floatToStr( $value)
| since | 1.1.11 |
|---|---|
getConnection(string $name = '') : \jDbConnection
stringprofile name to use. if empty, use the default one
\jDbConnectionthe connector
getDbWidget(string $name = null) : \jDbWidget
testProfile(array $profile) : boolean
arrayprofile properties
booleantrue if properties are ok