Source for file TextInput.php
Documentation is available at TextInput.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: * Single line text input control.
- 28: *
- 32: */
- 34: {
- 36: /**
- 41: */
- 43: {
- 50: }
- 54: /**
- 55: * Loads HTTP data.
- 58: */
- 60: {
- 65: }
- 67: if ($this->control->maxlength && iconv_strlen($this->value, 'UTF-8') > $this->control->maxlength) {
- 69: }
- 70: }
- 74: /**
- 75: * Sets or unsets the password mode.
- 78: */
- 80: {
- 83: }
- 87: /**
- 88: * Generates control's HTML element.
- 90: */
- 92: {
- 96: }
- 101: {
- 107: }
- 110: }
- 113: }