JApplication/getClientId: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Gets the client id of the current running application.
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JApplication/getClientId|Edi... |
m preparing for archive only |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
Gets the client id of the current running application. | Gets the client id of the current running application. | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 22: | Line 20: | ||
===Source Body=== | ===Source Body=== | ||
<source lang="php"> | <source lang="php"> | ||
function getClientId( ) | |||
{ | { | ||
return $this->_clientId; | return $this->_clientId; | ||
| Line 28: | Line 26: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=getClientId | category=getClientId | ||
category=JApplication | category=JApplication | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API15]] | |||
Latest revision as of 00:16, 25 March 2017
Description
Gets the client id of the current running application.
<! removed transcluded page call, red link never existed >
Syntax
getClientId()
Returns
int A client identifier.
Defined in
libraries/joomla/application/application.php
Importing
jimport( 'joomla.application.application' );
Source Body
function getClientId( )
{
return $this->_clientId;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples