Search and Top Navigation
#4411 closed enhancement (fixed)
Opened March 30, 2009 01:56AM UTC
Closed April 15, 2009 02:34AM UTC
Widget factory should auto detect getters
Reported by: | scottgonzalez | Owned by: | scottgonzalez |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8 |
Component: | ui.core | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Plugins shouldn't have to define which methods are getters (or getters and setters). The widget factory should determine this automatically based on the return value of the plugin method. If the method returns the plugin instance, it should be chainable, otherwise it should be treated as a getter.