API17

Difference between revisions of "JCache::setLifeTime"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Set cache lifetime.  
 
Set cache lifetime.  
  
{{Description:JCache::setLifeTime}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JCache::setLifeTime|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCache->setLifeTime ($lt)
+
public function setLifeTime ($lt)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' void
void
+
* '''Defined''' on line 147 of libraries/joomla/cache/cache.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/cache.php
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JCache::setLifeTime source code''' on [[jplatform:cache/cache.php#cl-139|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JCache::setLifeTime|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JCache|JCache]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[JCache/11.1|JCache]]
+
* [[API17:JCache::setLifeTime|Other versions of JCache::setLifeTime]]
* [[JCache::setLifeTime|Other versions of this method]]
+
 
{{SeeAlso:JCache::setLifeTime}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCache::setLifeTime
 
category=JCache::setLifeTime
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JCache]][[Category:JCache::setLifeTime]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:24, 24 March 2017

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

Description[edit]

Set cache lifetime.


public function setLifeTime ($lt)
Parameter Type Default Description
$lt int Cache lifetime
  • Returns void
  • Defined on line 147 of libraries/joomla/cache/cache.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]