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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function setLifeTime ($lt) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' void | |
− | void | + | * '''Defined''' on line 147 of libraries/joomla/cache/cache.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/cache/cache.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JCache::setLifeTime source code''' on [[jplatform:cache/cache.php#cl-139|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JCache|JCache]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | |
− | * | + | * [[API17:JCache::setLifeTime|Other versions of JCache::setLifeTime]] |
− | * [[JCache::setLifeTime|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCache::setLifeTime | category=JCache::setLifeTime | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <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.
JCache::setLifeTime[edit]
Description[edit]
Set cache lifetime.
public function setLifeTime ($lt)
Parameter | Type | Default | Description |
---|---|---|---|
$lt | int | Cache lifetime |
See also[edit]
- JCache::setLifeTime source code on BitBucket
- Class JCache
- Subpackage Cache
- Other versions of JCache::setLifeTime
User contributed notes[edit]
Code Examples[edit]