Actions

API17

JCacheControllerCallback::get

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JCacheControllerCallback::get

Description

Executes a cacheable callback if not found in cache else returns cached output and result.

Description:JCacheControllerCallback::get [Edit Descripton]

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 Joomla 11.1

See also

SeeAlso:JCacheControllerCallback::get [Edit See Also]

User contributed notes

<CodeExamplesForm />