Prado\Web\UI\WebControls\TLabel::getText PHP Метод

getText() публичный Метод

public getText ( ) : string
Результат string the text value of the label
    public function getText()
    {
        return $this->getViewState('Text', '');
    }

Usage Example

Пример #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);
     }
 }
All Usage Examples Of Prado\Web\UI\WebControls\TLabel::getText