Frontend\Modules\Mailmotor\Actions\Unsubscribe::parse PHP Method

parse() private method

Parse the data into the template
private parse ( ) : void
return void
    private function parse()
    {
        // form was unsubscribed?
        if ($this->URL->getParameter('unsubscribed') == 'true') {
            // show message
            $this->tpl->assign('mailmotorUnsubscribeIsSuccess', true);
            // hide form
            $this->tpl->assign('mailmotorUnsubscribeHideForm', true);
        }
    }