Class CI_Driver - echiong/testRepo GitHub Wiki

##Class CI_Driver

CodeIgniter Driver Class

This class enables you to create drivers for a Library based on the Driver Library. It handles the drivers' access to the parent library

	###Direct known subclasses
		<a href="Class CI_Cache_apc.md">CI_Cache_apcggg</a>, 
		<a href="Class CI_Cache_dummy.md">CI_Cache_dummyggg</a>, 
		<a href="Class CI_Cache_file.md">CI_Cache_fileggg</a>, 
		<a href="Class CI_Cache_memcached.md">CI_Cache_memcachedggg</a>

Package: [[CodeIgniter<a href="Package CodeIgniter.Libraries.md">Libraries]]
Category: Libraries
Author: EllisLab Dev Team
Link
Located at system/libraries/Driver.php

##Methods summary


public decorate ( object $parent )

Decorate

Decorates the child with the parent driver lib's methods and properties

Parameters

$parent object


public mixed __call ( string $method, array $args = array() )

__call magic method

Handles access to the parent driver library's methods

Parameters

$method string

$args array

Returns mixed


public mixed __get ( string $var )

__get magic method

Handles reading of the parent driver library's properties

Parameters

$var string

Returns mixed


public mixed __set ( string $var, array $val )

__set magic method

Handles writing to the parent driver library's properties

Parameters

$var string

$val array

Returns mixed

<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="parent" id="$parent">
	<td class="attributes"><code>
		protected  
		mixed
	</code></td>

	<td class="name">

$parent

#
		<div class="description detailed">
			

		</div>
	</div></td>
</tr>
</table>
⚠️ **GitHub.com Fallback** ⚠️