getText() 공개 메소드

public getText ( ) : string
리턴 string caption of the button
예제 #1
0
 /**
  * Updates the button text on the client-side if the
  * {@link setEnableUpdate EnableUpdate} property is set to true.
  * @param string caption of the button
  */
 public function setText($value)
 {
     if (parent::getText() === $value) {
         return;
     }
     parent::setText($value);
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $this->getPage()->getCallbackClient()->setAttribute($this, 'value', $value);
     }
 }