v5:reference:connection:adonewconnection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:connection:adonewconnection [2016/01/17 03:29] – ↷ Page moved from v5:reference:adonewconnection to v5:reference:connection:adonewconnection mnewnham | v5:reference:connection:adonewconnection [2016/01/17 15:28] – mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== adoNewConnection ====== | ====== adoNewConnection ====== | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | <WRAP alert> | ||
- | Not passing a driver name as the parameter to this function does nothing but return an html string indication that the no driver name was passed. This behavior will be removed in version 6.0.0. | ||
- | </ | ||
- | <WRAP alert> | ||
- | Passing an invalid or missing driver name as the parameter to this function returns an html formatted string. This behavior will be change in version 6.0.0. If an error occurs, the function will return a numeric error. See the guide below. | ||
- | </ | ||
<WRAP right box> | <WRAP right box> | ||
- | == Syntax | + | == Syntax == |
| | ||
mixed adoNewConnection( | mixed adoNewConnection( | ||
Line 14: | Line 8: | ||
) | ) | ||
- | == Syntax version 6.0.0 == | ||
- | mixed adoNewConnection( | ||
- | string $driverType | ||
- | ) | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
Line 66: | Line 56: | ||
|persist|true|[[v5: | |persist|true|[[v5: | ||
|persistent|true|[[v5: | |persistent|true|[[v5: | ||
- | |debug|true|[[v5: | + | |debug|true|[[v5: |
|role|string||When using the ibase driver, allows setting a role| | |role|string||When using the ibase driver, allows setting a role| | ||
|dialect|integer||Undocumented option| | |dialect|integer||Undocumented option| |
v5/reference/connection/adonewconnection.txt · Last modified: 2020/12/08 10:39 by peterdd