API17

JCacheControllerCallback::get

From Joomla! Documentation

Revision as of 18:00, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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]

Since[edit]

Joomla 11.1

Synopsis[edit]

public  JCacheControllerCallback->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[edit]

mixed Result of the callback

Defined in[edit]

libraries/joomla/cache/controller/callback.php

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JCacheControllerCallback::get

Examples[edit]

<CodeExamplesForm />