Prado\Web\UI\WebControls\TImage::getDescriptionUrl PHP Method

getDescriptionUrl() public method

public getDescriptionUrl ( ) : string
return string the URL to long description
    public function getDescriptionUrl()
    {
        return $this->getViewState('DescriptionUrl', '');
    }

Usage Example

Beispiel #1
0
 /**
  * @param string the URL to the long description of the image.
  */
 public function setDescriptionUrl($value)
 {
     if (parent::getDescriptionUrl() === $value) {
         return;
     }
     parent::setDescriptionUrl($value);
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $this->getPage()->getCallbackClient()->setAttribute($this, 'longdesc', $value);
     }
 }