TActiveHiddenField displays a hidden input field on a Web page. The value of the input field can be accessed via {@link getValue Value} property.
Since: 3.1
Author: Carl G. Mathisen (carlgmathisen@gmail.com)
Inheritance: extends Prado\Web\UI\WebControls\THiddenField, implements Prado\Web\UI\ActiveControls\ICallbackEventHandler, implements Prado\Web\UI\ActiveControls\IActiveControl
コード例 #1
0
 public function testSetValue()
 {
     $field = new TActiveHiddenField();
     $field->setValue('Test');
     $this->assertEquals('Test', $field->getValue());
 }