Actions

API17

Difference between revisions of "JCacheControllerCallback::get"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JCacheControllerCallback->get ($callback, $args=array(), $id=false, $wrkarounds=false, $woptions=array())
+
public JCacheControllerCallback::get ($callback, $args=array(), $id=false, $wrkarounds=false, $woptions=array())
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 50: Line 50:
 
mixed Result of the callback
 
mixed Result of the callback
 
===Defined in===
 
===Defined in===
libraries/joomla/cache/controller/callback.php
+
libraries/joomla/cache/controller/callback.php (line 59)
 +
* see source code in [[jplatform:cache/controller/callback.php#cl-59|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 19:00, 23 April 2011

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]

Since

Joomla 11.1

Synopsis

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

mixed Result of the callback

Defined in

libraries/joomla/cache/controller/callback.php (line 59)

Referenced by

See also

[Edit See Also]

SeeAlso:JCacheControllerCallback::get

Examples

<CodeExamplesForm />