setText() public method

Sets the text caption of the THyperLink.
public setText ( $value )
Exemplo n.º 1
0
 /**
  * On callback response, the inner HTMl of the label is updated.
  * @param string the text value of the label
  */
 public function setText($value)
 {
     if (parent::getText() === $value) {
         return;
     }
     parent::setText($value);
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $this->getPage()->getCallbackClient()->update($this, $value);
     }
 }