Prado\Web\UI\WebControls\TTextBox::getText PHP Method

getText() public method

public getText ( ) : string
return string the text content of the TTextBox control.
    public function getText()
    {
        return $this->getViewState('Text', '');
    }

Usage Example

示例#1
0
 /**
  * Client-side Text property can only be updated after the OnLoad stage.
  * @param string text content for the textbox
  */
 public function setText($value)
 {
     if (parent::getText() === $value) {
         return;
     }
     parent::setText($value);
     if ($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData()) {
         $this->getPage()->getCallbackClient()->setValue($this, $value);
     }
 }
All Usage Examples Of Prado\Web\UI\WebControls\TTextBox::getText