Prado\Web\UI\WebControls\TRatingList::setCaption PHP 메소드

setCaption() 공개 메소드

public setCaption ( $value ) : TRatingListStyle
리턴 TRatingListStyle current rating style
    public function setCaption($value)
    {
        $this->getCaptionControl()->setText($value);
    }

Usage Example

예제 #1
0
 /**
  * @param string caption text
  */
 public function setCaption($value)
 {
     if (parent::getCaption() === $value) {
         return;
     }
     parent::setCaption($value);
     // if it's an active control, this should not be needed.
     $this->callClientFunction('setCaption', $value);
 }