Creating Drivers

Creating Drivers

Driver Directory and File Structure

Sample driver directory and file structure layout:

  • /application/libraries/Driver_name
    • Driver_name.php
    • drivers
      • Driver_name_subclass_1.php
      • Driver_name_subclass_2.php
      • Driver_name_subclass_3.php

Note

In order to maintain compatibility on case-sensitive file systems, the Driver_name directory must be named in the format returned by ucfirst().

Note

The Driver library’s architecture is such that the subclasses don’t extend and therefore don’t inherit properties or methods of the main driver.

© 2014–2017 British Columbia Institute of Technology
Licensed under the MIT License.
https://www.codeigniter.com/user_guide/general/creating_drivers.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部