Property | Type | Description | |
---|---|---|---|
$CI | object | CI Singleton | |
$db | object | Allows passing of DB object so that multiple database connections and returned DB objects can be supported. |
Method | Description | |
---|---|---|
__construct ( &$db ) : void | Constructor | |
check_path ( string $path = '' ) : boolean | Set Cache Directory Path | |
delete ( string $segment_one = '', string $segment_two = '' ) : void | Delete cache files within a particular directory | |
delete_all ( ) : void | Delete all existing cache files | |
read ( string $sql ) : string | Retrieve a cached query | |
write ( string $sql, object $object ) : boolean | Write a query to a cache file |
public check_path ( string $path = '' ) : boolean | ||
$path | string | Path to the cache directory |
return | boolean |
public object $db | ||
return | object |