API17

JCacheControllerCallback::get

From Joomla! Documentation

Revision as of 15:00, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JCacheControllerCallback::get/11.1 to API17:JCacheControllerCallback::get without leaving a redirect: Robot: Moved page)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JCacheControllerCallback::get[edit]

Description[edit]

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

Template: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[edit]

Template:SeeAlso:JCacheControllerCallback::get [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />