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