API16:JURI/isSSL
From Joomla! Documentation
Description
Checks whether the current URI is using HTTPS.
Syntax
isSSL()
Returns
boolean True if using SSL via HTTPS.
Defined in
libraries/joomla/environment/uri.php
Importing
jimport( 'joomla.environment.uri' );
Source Body
public function isSSL()
{
return $this->getScheme() == 'https' ? true : false;
}
Examples
Code Examples