caching is a Boolean value; if true caching is enabled. Cached data
is identified by an ID and a group. The way the cache is stored differs, depending on the
chosen storage handler. storage is a string that defines the default storage handler type.
Parameters options Associative array of options
Methods
clean( group : string=null, mode : string='group' ) : boolean
Removes all cached items in group. If mode is 'group', removes all cached data in
group, if mode is 'notgroup', removes all cached data in other groups.
Parameters [group] Selected group
[mode] Cleaning mode
Returns true on success
gc( ) : boolean
Removes any redundant cached data (data that has expired).
Returns true on success
get( id : string, group : string=null ) : mixed
Gets cached data. Cached data is identified by an ID and a group. Returns false if no
cached data is available.
Parameters id Cached data ID
[group] Cached data group
Returns Cached data; false if no cached data is found
static &getInstance( type : string='output', options : array=array() ) :
JCache
Gets a new instance of a JCache subclass object based on type.
Pages:
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587