public function getPreviewUrl()
    {
        if ($domain = $this->getBaseProperty('preliminaryDomain')) {
            $https = Kwf_Util_Https::domainSupportsHttps($domain);
            $protocol = $https ? 'https' : 'http';
            $url = $protocol . '://'.$domain.$this->url;
        } else {
            $url = $this->getAbsoluteUrl();
        }
        return Kwf_Setup::getBaseUrl().'/admin/component/preview/?url='.urlencode($url.'?kwcPreview');
    }
public function getPreviewUrl()
    {
        if ($domain = $this->getBaseProperty('preliminaryDomain')) {
            $https = Kwf_Util_Https::domainSupportsHttps($domain);
            $protocol = $https ? 'https' : 'http';
            $url = $protocol . '://'.$domain.$this->url;
        } else {
            $url = $this->getAbsoluteUrl();
        }
        return Kwf_Setup::getBaseUrl().'/admin/component/preview/?url='.urlencode($url.'?kwcPreview');
    }
public function getPreviewUrl ( ) { if ( $ domain = $ this -> getBaseProperty ( 'preliminaryDomain' ) ) { $ https = Kwf_Util_Https :: domainSupportsHttps ( $ domain ) ; $ protocol = $ https ? 'https' : 'http' ; $ url = $ protocol . '://' . $ domain . $ this -> url ; } else { $ url = $ this -> getAbsoluteUrl ( ) ; } return Kwf_Setup :: getBaseUrl ( ) . '/admin/component/preview/?url=' . urlencode ( $ url . '?kwcPreview' ) ; }
Returns preview url

@return string
Returns preview url