Source for file IFormControl.php
Documentation is available at IFormControl.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: */
- 23: /**
- 24: * Defines method that must be implemented to allow a component to act like a form control.
- 25: *
- 29: */
- 31: {
- 33: /**
- 34: * Loads HTTP data.
- 37: */
- 40: /**
- 41: * Sets control's value.
- 44: */
- 47: /**
- 48: * Returns control's value.
- 50: */
- 53: /**
- 55: */
- 58: /**
- 59: * Returns errors corresponding to control.
- 61: */
- 64: /**
- 65: * Is control disabled?
- 67: */
- 70: /**
- 71: * Returns translated string.
- 74: */
- 77: }