API17:JCacheControllerCallback::get
From Joomla! Documentation
JCacheControllerCallback::get
Description
Executes a cacheable callback if not found in cache else returns cached output and result.
public function get (
$callback
$args=array
$id=false
$wrkarounds=false
$woptions=array
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $callback | mixed | Callback or string shorthand for a callback | |
| $args | array | array() | Callback arguments |
| $id | string | false | Cache id |
| $wrkarounds | boolean | false | Perform workarounds on data? |
| $woptions | array | array() | Workaround options |
- Returns mixed Result of the callback
- Defined on line 59 of libraries/joomla/cache/controller/callback.php
- Since

See also
JCacheControllerCallback::get source code on BitBucket
Class JCacheControllerCallback
Subpackage Cache- Other versions of JCacheControllerCallback::get
User contributed notes
Code Examples