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 http://nettephp.com
- 12: *
- 18: */
- 26: /**
- 27: * Hidden form control used to store a non-displayed value.
- 28: *
- 32: */
- 34: {
- 41: {
- 46: }
- 50: /**
- 51: * Bypasses label generation.
- 53: */
- 55: {
- 57: }
- 61: /**
- 62: * Sets control's value.
- 65: */
- 67: {
- 70: }
- 74: /**
- 75: * Generates control's HTML element.
- 77: */
- 79: {
- 80: return parent::getControl()->value($this->forcedValue === NULL ? $this->value : $this->forcedValue);
- 81: }
- 83: }