blob: 63ac839020e650164e44fc293cd4fe0823c9db51 [file] [log] [blame]
Derek Jones8ede1a22011-10-05 13:34:52 -05001################
2Creating Drivers
3################
4
5Driver Directory and File Structure
6===================================
7
8Sample driver directory and file structure layout:
9
10- /application/libraries/Driver_name
11
12 - Driver_name.php
13 - drivers
14
15 - Driver_name_subclass_1.php
16 - Driver_name_subclass_2.php
17 - Driver_name_subclass_3.php
18
Andrey Andreev16a704c2012-11-09 17:25:00 +020019.. note:: In order to maintain compatibility on case-sensitive
20 file systems, the Driver_name directory must be
Andrey Andreev45cf68c2014-07-12 02:20:41 +030021 named in the format returned by ``ucfirst()``.
22
23.. note:: The Driver library's architecture is such that
24 the subclasses don't extend and therefore don't inherit
25 properties or methods of the main driver.