references:joomla.framework:application:japplication-getclientidTable of Contents
getClientId
Gets the client id of the current running application. This can be either 0, for the site or frontend application, 1 for the administrator or backend application, or 2 for installation. Syntaxint getClientId () ExamplesExample global $mainframe; echo $mainframe->getClientId(); might produce Result 0
if called from the site frontend. |


