Prado\Web\UI\WebControls\TImage::getImageUrl PHP 메소드

getImageUrl() 공개 메소드

public getImageUrl ( ) : string
리턴 string the URL of the image file
    public function getImageUrl()
    {
        return $this->getViewState('ImageUrl', '');
    }

Usage Example

예제 #1
0
 /**
  * @param string the URL of the image file
  */
 public function setImageUrl($value)
 {
     if (parent::getImageUrl() === $value) {
         return;
     }
     parent::setImageUrl($value);
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $this->getPage()->getCallbackClient()->setAttribute($this, 'src', $value);
     }
 }