EllisLab/CodeIgniter — pull request #2029 by dchill42 (2012-11-25 00:48:53+00:00)
Title: Added driver extension support

Retooling of #1787

Enables mix-and-match extension of Driver library and child classes. Extend library without requiring child extensions and vice-versa.

Session and Cache drivers updated to work with changes to valid_drivers list, which now lists child class names without parent class name included. Driver child class and file names still require parent name prefix.

Adds unit testing of Driver library base class.

Reverts loading CI_Driver in _ci_load_class() - all drivers (including Session!) must be loaded with ``CI_Loader->driver()`` NOT ``CI_Loader->library()``.

Signed-off-by: dchill42