v5:reference:loadbalancer:adodbloadbalancerconnection
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:loadbalancer:adodbloadbalancerconnection [2017/04/19 02:28] – [$persistantConnection] mnewnham | v5:reference:loadbalancer:adodbloadbalancerconnection [2017/04/27 01:07] (current) – [Other Parameters] mnewnham | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <WRAP right box> | <WRAP right box> | ||
| == Applies To == | == Applies To == | ||
| - | ADOdb Load Balancer | + | [[v5: |
| == See Also == | == See Also == | ||
| - | [[v5: | ||
| [[v5: | [[v5: | ||
| == Syntax == | == Syntax == | ||
| Line 20: | Line 19: | ||
| </ | </ | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The class '' | + | The class '' |
| + | |||
| + | Note that a connection is not established when the class is instantiated, | ||
| ------------------------ | ------------------------ | ||
| ===== Parameters ===== | ===== Parameters ===== | ||
| Line 31: | Line 33: | ||
| ==== $persistantConnection ==== | ==== $persistantConnection ==== | ||
| - | This parameter forces the ADOdb connection to be made with a [[v5: | + | This parameter forces the ADOdb connection to be made with a [[v5: |
| ==== Other Parameters ==== | ==== Other Parameters ==== | ||
| - | The other parameters are defind | + | The other parameters are defined |
| --------------------------- | --------------------------- | ||
| ===== Usage ==== | ===== Usage ==== | ||
| <code php> | <code php> | ||
| - | $driver = ' | ||
| - | $db = new ADOdbLoadBalancer( $driver ); | ||
| + | $db = new ADOdbLoadBalancer; | ||
| + | |||
| + | $driver = ' | ||
| $database = ' | $database = ' | ||
| $user = ' | $user = ' | ||
| Line 53: | Line 56: | ||
| $password, | $password, | ||
| $database ); | $database ); | ||
| - | $db0-> | + | |
| $db-> | $db-> | ||
| Line 66: | Line 69: | ||
| $password, | $password, | ||
| $database ); | $database ); | ||
| - | $db1-> | + | |
| $db-> | $db-> | ||
| Line 79: | Line 82: | ||
| $password, | $password, | ||
| $database ); | $database ); | ||
| - | $db2-> | ||
| $db-> | $db-> | ||
| </ | </ | ||
v5/reference/loadbalancer/adodbloadbalancerconnection.1492561690.txt.gz · Last modified: (external edit)
