Actions

API17

Difference between revisions of "JTableUser::setLastVisit"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JTableUser::setLastVisit|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JTableUser::setLastVisit|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JTableUser->setLastVisit ($timeStamp=null, $userId=null)
+
public function setLastVisit (
 +
        $timeStamp=null
 +
        $userId=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean False if an error occurs
boolean False if an error occurs
+
* '''Defined''' on line 385 of libraries/joomla/database/table/user.php
===Defined in===
+
libraries/joomla/database/table/user.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JTableUser::setLastVisit source code''' on [[jplatform:database/table/user.php#cl-377|BitBucket]]
 +
* {{JVer|11.1}} Class [[JTableUser/11.1|JTableUser]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JTableUser::setLastVisit|Other versions of JTableUser::setLastVisit]]
 +
{{SeeAlso:JTableUser::setLastVisit}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JTableUser::setLastVisit|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JTableUser::setLastVisit|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JTableUser/11.1|JTableUser]]
+
===User contributed notes===
* [[JTableUser::setLastVisit|Other versions of this method]]
+
{{SeeAlso:JTableUser::setLastVisit}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 50: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JTableUser]][[Category:JTableUser::setLastVisit]]</noinclude>
 
<noinclude>[[Category:JTableUser]][[Category:JTableUser::setLastVisit]]</noinclude>

Revision as of 21:50, 27 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 JTableUser::setLastVisit

Description

Updates last visit time of user.

Description:JTableUser::setLastVisit [Edit Descripton]

public function setLastVisit (
        $timeStamp=null
        $userId=null
)
Parameter Type Default Description
$timeStamp int null The timestamp, defaults to 'now'
$userId null
  • Returns boolean False if an error occurs
  • Defined on line 385 of libraries/joomla/database/table/user.php

See also

SeeAlso:JTableUser::setLastVisit [Edit See Also]

User contributed notes

<CodeExamplesForm />