JApplication/isSite: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
Line 30: | Line 30: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=isSite | category=isSite | ||
category=JApplication | category=JApplication | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 01:18, 25 March 2017
Description
Is site interface?
<! removed transcluded page call, red link never existed >
Syntax
isSite()
Returns
boolean True if this application is site.
Defined in
libraries/joomla/application/application.php
Importing
jimport( 'joomla.application.application' );
Source Body
public function isSite()
{
return ($this->_clientId == 0);
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples