Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Enable input filter config from annotations to be passed on via composed collections #5456

Merged
merged 4 commits into from
Nov 11, 2013

Conversation

carnage
Copy link
Contributor

@carnage carnage commented Nov 9, 2013

Currently, annotations for the input filter are silently lost when using the composed object annotation to compose a collection of objects.

This patch adds a new fieldset class which can take as an option an input filter spec and implements input filter provider interface to allow the form to later retrieve this config for validation and updates the composed object annotation to make use of this new fieldset when composing a collection.

Altered element annotation listener to use new fieldset type for collections and to compose the input filter from the composed object into the fieldset

return $this;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add new line after } for eof ending

weierophinney added a commit that referenced this pull request Nov 11, 2013
Enable input filter config from annotations to be passed on via composed collections
weierophinney added a commit that referenced this pull request Nov 11, 2013
@weierophinney weierophinney merged commit 78046b9 into zendframework:develop Nov 11, 2013
@ghost ghost assigned weierophinney Nov 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants