Parameters key Parameter to set
[value] New value
[group] Parameter group
Returns Previous value of the parameter
setXML( &xml : JSimpleXMLElement ) : void
Sets an XML definition; the group is extracted from the group attribute of the object.
Parameters [xml] JSimpleXMLElement object to add
JCache
abstract, extends JObject
Handles caching. Several subclasses exist for caching different items; subclasses are
sometimes referred to as JCache types. JCache uses JCacheStorage subclass objects to store
and retrieve cache data.
Properties
_handler : JCacheStorage Storage handler
_options : array Cache handling options
Appendix
[ 423 ]
Constructors
__construct( options : array ) : JCache
Builds a new JCache object. The options associative array can contain the keys
language, cachebase, defaultgroup, caching, and storage. language is used
to create separate caches for different languages. cachebase is used as the path to the
base cache folder. defaultgroup is the group name used when no group is specified
in other methods.
Pages:
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586