protected function makeResetUrl($code)
    {
        $params = [
            $this->property('paramCode') => $code
        ];

        if ($pageName = $this->property('resetPage')) {
            $url = $this->pageUrl($pageName, $params);
        }
        else {
            $url = $this->currentPageUrl($params);
        }

        if (strpos($url, $code) === false) {
            $url .= '?reset=' . $code;
        }

        return $url;
    }
protected function makeResetUrl($code)
    {
        $params = [
            $this->property('paramCode') => $code
        ];

        if ($pageName = $this->property('resetPage')) {
            $url = $this->pageUrl($pageName, $params);
        }
        else {
            $url = $this->currentPageUrl($params);
        }

        if (strpos($url, $code) === false) {
            $url .= '?reset=' . $code;
        }

        return $url;
    }
protected function makeResetUrl ( $ code ) { $ params = [ $ this -> property ( 'paramCode' ) => $ code ] ; if ( $ pageName = $ this -> property ( 'resetPage' ) ) { $ url = $ this -> pageUrl ( $ pageName , $ params ) ; } else { $ url = $ this -> currentPageUrl ( $ params ) ; } if ( strpos ( $ url , $ code ) === false ) { $ url .= '?reset=' . $ code ; } return $ url ; }
Returns a link used to reset the user account.
@return string
Returns a link used to reset the user account .