Opened 9 years ago
Closed 9 years ago
#4411 closed enhancement (fixed)
Widget factory should auto detect getters
Reported by: | Scott González | Owned by: | Scott González |
---|---|---|---|
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.
Attachments (1)
Change History (3)
Changed 9 years ago by
Attachment: | auto-getters.patch added |
---|
comment:1 Changed 9 years ago by
Owner: | set to scott.gonzalez |
---|---|
Status: | new → accepted |
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r2453.