Prado\Web\UI\ActiveControls\TActiveHyperLink::setNavigateUrl PHP Метод

setNavigateUrl() публичный Метод

Sets the URL to link to when the THyperLink component is clicked.
public setNavigateUrl ( $value )
    public function setNavigateUrl($value)
    {
        if (parent::getNavigateUrl() === $value) {
            return;
        }
        parent::setNavigateUrl($value);
        if ($this->getActiveControl()->canUpdateClientSide()) {
            //replace & with & and urldecode the url (setting the href using javascript is literal)
            $url = urldecode(str_replace('&', '&', $value));
            $this->getPage()->getCallbackClient()->setAttribute($this, 'href', $url);
        }
    }