-
Notifications
You must be signed in to change notification settings - Fork 0
CI_Driver_Library
Mathieu Nayrolles edited this page Jan 20, 2016
·
1 revision
CodeIgniter Driver Library Class
This class enables you to create "Driver" libraries that add runtime ability to extend the capabilities of a class via additional driver objects
- Class name: CI_Driver_Library
- Namespace:
protected array $valid_drivers = array()
Array of drivers that are available to use with the driver class
- Visibility: protected
protected string $lib_name
Name of the current class - usually the driver class
- Visibility: protected
object CI_Driver_Library::__get($child)
Get magic method
The first time a child is used it won't exist, so we instantiate it subsequents calls will go straight to the proper child.
- Visibility: public
- $child mixed
object CI_Driver_Library::load_driver($child)
Load driver
Separate load_driver call to support explicit driver load by library or user
- Visibility: public
- $child mixed