Opened 14 years ago

Closed 14 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:


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)

auto-getters.patch (2.7 KB) - added by Scott González 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Scott González

Attachment: auto-getters.patch added

comment:1 Changed 14 years ago by Scott González

Owner: set to scott.gonzalez
Status: newaccepted

comment:2 Changed 14 years ago by Scott González

Resolution: fixed
Status: acceptedclosed

Fixed in r2453.

Note: See TracTickets for help on using tickets.