Source for file TextArea.php
Documentation is available at TextArea.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: * Multiline text input control.
- 28: *
- 32: */
- 34: {
- 36: /**
- 41: */
- 43: {
- 49: }
- 53: /**
- 54: * Generates control's HTML element.
- 56: */
- 58: {
- 60: $control->setText($this->getValue() === '' ? $this->translate($this->emptyValue) : $this->value);
- 62: }
- 64: }