v5:userguide:learn_extensions:new_driver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v5:userguide:learn_extensions:new_driver [2020/01/15 03:35] – [Creating A New Driver] mnewnham | v5:userguide:learn_extensions:new_driver [2020/01/15 04:13] (current) – mnewnham | ||
---|---|---|---|
Line 55: | Line 55: | ||
</ | </ | ||
- | So the class extends the connector, but much of the MySQL specific functionality is found in the **// | + | So the class extends the connector, but much of the MySQL specific functionality is found in the **// |
<code php> | <code php> | ||
Line 63: | Line 63: | ||
</ | </ | ||
+ | ===== Base Level Classes ===== | ||
+ | If we look at say, the [[v5: | ||
+ | <code php> | ||
+ | class ADODB_mssqlnative extends ADOConnection { | ||
+ | var $databaseType = ' | ||
+ | var $dataProvider = ' | ||
+ | |||
+ | </ | ||
+ | |||
+ | In this case, the **$databaseType** and the **$dataProvider** are the same. This means that all of the functionality of the driver is provided by the named driver (**drivers/ | ||
+ | |||
+ | ===== Using Provider Classes ===== | ||
+ | Data Provider classes are designed exactly the same as database driver classes. Where the provider class is different from the database class, the provider class is generally associated with an obsolete database version, often 15-20 years old. As such, they cannot be used as drivers. | ||
v5/userguide/learn_extensions/new_driver.1579055705.txt.gz · Last modified: 2020/01/15 03:35 by mnewnham