Source for file AppForm.php
Documentation is available at AppForm.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: */
- 28: /**
- 29: * Web form as presenter component.
- 30: *
- 34: *
- 36: */
- 38: {
- 40: /**
- 41: * Application form constructor.
- 42: */
- 44: {
- 49: }
- 50: }
- 54: /**
- 55: * Returns the presenter where this component belongs to.
- 58: */
- 60: {
- 62: }
- 66: /**
- 67: * This method will be called when the component (or component's parent)
- 68: * becomes attached to a monitored object. Do not call this method yourself.
- 71: */
- 73: {
- 81: // fill-in the form with HTTP data
- 85: }
- 86: }
- 87: }
- 89: }
- 93: /**
- 94: * Tells if the form is anchored.
- 96: */
- 98: {
- 100: }
- 104: /**
- 105: * Internal: receives submitted HTTP data.
- 107: */
- 109: {
- 113: }
- 119: }
- 125: }
- 126: }
- 130: /********************* interface ISignalReceiver ****************d*g**/
- 134: /**
- 135: * This method is called by presenter.
- 138: */
- 140: {
- 145: throw new BadSignalException("There is no handler for signal '$signal' in '{$this->getClass()}'.");
- 146: }
- 147: }
- 149: }