Source for file HiddenField.php
Documentation is available at HiddenField.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 27: /**
- 28: * Hidden form control used to store a non-displayed value.
- 29: *
- 33: */
- 35: {
- 42: {
- 47: }
- 51: /**
- 52: * Bypasses label generation.
- 54: */
- 56: {
- 58: }
- 62: /**
- 63: * Sets control's value.
- 66: */
- 68: {
- 70: }
- 74: /**
- 75: * Generates control's HTML element.
- 77: */
- 79: {
- 80: return parent::getControl()->value($this->forcedValue === NULL ? $this->value : $this->forcedValue);
- 81: }
- 83: }