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 http://nettephp.com
- 12: *
- 18: */
- 22: /**
- 23: * Defines method that must be implemented to allow a component to act like a form control.
- 24: *
- 28: */
- 30: {
- 32: /**
- 33: * Loads HTTP data.
- 35: */
- 38: /**
- 39: * Sets control's value.
- 42: */
- 45: /**
- 46: * Returns control's value.
- 48: */
- 51: /**
- 53: */
- 56: /**
- 57: * Returns errors corresponding to control.
- 59: */
- 62: /**
- 63: * Is control disabled?
- 65: */
- 68: /**
- 69: * Returns translated string.
- 72: */
- 75: }