API17

Difference between revisions of "JSessionStorageApc::gc"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JSessionStorageApc::gc|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSessionStorageApc::gc|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSessionStorageApc::gc ($maxlifetime=null)
+
public function gc ($maxlifetime=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 22: Line 21:
 
|integer
 
|integer
 
|null
 
|null
|The maximum age of a session.  
+
|The maximum age of a session.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success, false otherwise.
boolean True on success, false otherwise.
+
* '''Defined''' on line 108 of libraries/joomla/session/storage/apc.php
===Defined in===
 
libraries/joomla/session/storage/apc.php (line 111)
 
* see source code in [[jplatform:session/storage/apc.php#cl-111|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JSessionStorageApc::gc source code''' on [[jplatform:session/storage/apc.php#cl-100|BitBucket]]
 +
* {{JVer|11.1}} Class [[JSessionStorageApc/11.1|JSessionStorageApc]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Session/11.1|Session]]
 +
* [[JSessionStorageApc::gc|Other versions of JSessionStorageApc::gc]]
 +
{{SeeAlso:JSessionStorageApc::gc}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageApc::gc|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageApc::gc|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JSessionStorageApc/11.1|JSessionStorageApc]]
+
===User contributed notes===
* [[JSessionStorageApc::gc|Other versions of this method]]
 
{{SeeAlso:JSessionStorageApc::gc}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 46: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JSessionStorageApc]][[Category:JSessionStorageApc::gc]]</noinclude>
 
<noinclude>[[Category:JSessionStorageApc]][[Category:JSessionStorageApc::gc]]</noinclude>

Revision as of 21:37, 27 April 2011

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

Description[edit]

Garbage collect stale sessions from the SessionHandler backend.

Template:Description:JSessionStorageApc::gc [Edit Descripton]

public function gc ($maxlifetime=null)
Parameter Type Default Description
$maxlifetime integer null The maximum age of a session.
  • Returns boolean True on success, false otherwise.
  • Defined on line 108 of libraries/joomla/session/storage/apc.php

See also[edit]

Template:SeeAlso:JSessionStorageApc::gc [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />