public function setText($value) { $this->setViewState('Text', TPropertyValue::ensureString($value), ''); $this->_safeText = null; }
/** * 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); } }