====== isSite ======
{#JAPI Joomla.Framework Application JApplication::isSite #}
Returns a boolean value specifying whether or not the current page is being loaded from the site interface.
===== Syntax =====
boolean isSite ()
===== Examples =====
global $mainframe;
if ($mainframe->isSite()) {
echo "We are in the site interface!";
} else {
echo "We are not in the site interface!";
}
might produce
We are in the site interface!
----
~~DISCUSSION~~