public function EmailShareLink()
    {
        if (!$this->owner->hasMethod('AbsoluteLink')) {
            return false;
        }
        $pageURL = $this->owner->AbsoluteLink();
        $subject = rawurlencode(_t('JonoM\ShareCare\ShareCare.EmailSubject', 'Thought you might like this'));
        $body = rawurlencode(_t('JonoM\ShareCare\ShareCare.EmailBody', 'Thought of you when I found this: {URL}', array('URL' => $pageURL)));

        return ($pageURL) ? "mailto:?subject=$subject&body=$body" : false;
    }
public function EmailShareLink()
    {
        if (!$this->owner->hasMethod('AbsoluteLink')) {
            return false;
        }
        $pageURL = $this->owner->AbsoluteLink();
        $subject = rawurlencode(_t('JonoM\ShareCare\ShareCare.EmailSubject', 'Thought you might like this'));
        $body = rawurlencode(_t('JonoM\ShareCare\ShareCare.EmailBody', 'Thought of you when I found this: {URL}', array('URL' => $pageURL)));

        return ($pageURL) ? "mailto:?subject=$subject&body=$body" : false;
    }
public function EmailShareLink ( ) { if ( ! $ this -> owner -> hasMethod ( 'AbsoluteLink' ) ) { return false ; } $ pageURL = $ this -> owner -> AbsoluteLink ( ) ; $ subject = rawurlencode ( _t ( 'JonoM\ShareCare\ShareCare.EmailSubject' , 'Thought you might like this' ) ) ; $ body = rawurlencode ( _t ( 'JonoM\ShareCare\ShareCare.EmailBody' , 'Thought of you when I found this: {URL}' , array ( 'URL' => $ pageURL ) ) ) ; return ( $ pageURL ) ? "mailto:?subject=$subject&body=$body" : false ; }
Generate a 'mailto' URL to share this content via Email.

@return string|false
Generate a mailto URL to share this content via Email .