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

Form Elements refactor: move "options" out of attributes (Select, Radio, etc.) #2251

Merged
merged 1 commit into from
Aug 28, 2012

Conversation

cgmartin
Copy link
Contributor

Refactor to clean up the Element attributes, and move out value options into it's own property.

Affects Select, Radio, and MultiCheckbox elements and view helpers.

return $this;
}
return parent::setAttribute($key, $value);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

With this here, it won't break those setting the options in the attributes. Deprecate it in the future?

Copy link
Member

Choose a reason for hiding this comment

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

Yes -- but for now, keep it to keep BC.

@travisbot
Copy link

This pull request passes (merged e6b741f into 57c7d09).

weierophinney added a commit that referenced this pull request Aug 28, 2012
- Detailed change to elements
@weierophinney weierophinney merged commit e6b741f into zendframework:master Aug 28, 2012
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.

4 participants