Prado\Web\UI\WebControls\THiddenField::getValue PHP Метод

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

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

Usage Example

Пример #1
0
 /**
  * Client-side Value property can only be updated after the OnLoad stage.
  * @param string text content for the hidden field
  */
 public function setValue($value)
 {
     if (parent::getValue() === $value) {
         return;
     }
     parent::setValue($value);
     if ($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData()) {
         $this->getPage()->getCallbackClient()->setValue($this, $value);
     }
 }