JCacheControllerCallback::get
Executes a cacheable callback if not found in cache else returns cached output and result
Signature
public function get(mixed
$callback,
[array
$args = false,
[string
$id = false,
[boolean
$wrkarounds = false,
array
$woptions]]] )
Parameters
-
$callback
- Callback or string shorthand for a callback
-
$args
- Callback arguments
-
$id
- Cache id
-
$wrkarounds
- True to use wrkarounds
-
$woptions
- Workaround options
Returns
- mixed
- Result of the callback