Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Standard for components, that have their rendered body wrapped in form.
- * This means they're containing form as a component
- * and are willing to use Form Container instead,
- * if Form is provided to them by parent instance of IFormWrapped.
- *
- * All components implementing this interface should use Doctrine Form.
- *
- * @author Filip Procházka <[email protected]>
- */
- interface IFormWrapped
- {
- /**
- * The parent form. No matter if component's own, or if it's owned by some of it's parents.
- *
- * @return \Kdyby\Doctrine\Forms\Form
- */
- function getForm();
- /**
- * Container is the element, that components uses for it's elements.
- *
- * @return \Nette\Forms\Container
- */
- function getContainer();
- }
Advertisement
Add Comment
Please, Sign In to add comment