\Helper_Cache

Class Helper_Cache

Summary

Methods
Properties
Constants
__construct()
load()
get()
set()
getData()
setData()
clear()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_oCache
$_bCache
$_sError
N/A

Properties

$_oCache

$_oCache : 

Type

$_bCache

$_bCache : 

Type

$_sError

$_sError : 

Type

Methods

__construct()

__construct() : $this

__construct()

Returns

$this

load()

load() : $this|boolean

load()

Singleton to secure to create only one instance of this class.

Returns

$this|boolean

get()

get(string  $sFilename) : mixed

get()

Parameters

string $sFilename

Returns

mixed

set()

set(string  $sFilename, string  $sData) : boolean

set()

Parameters

string $sFilename
string $sData

Returns

boolean

getData()

getData(string  $sFilename,   $bReturnArray = FALSE) : string|array

getData()

Parameters

string $sFilename
$bReturnArray

Returns

string|array

setData()

setData(string  $sFilename, array  $aData) : boolean

setData()

Parameters

string $sFilename
array $aData

Returns

boolean

clear()

clear(  $sDirectory = NULL) : void

clear()

Parameters

$sDirectory