Ticket #4411 (closed enhancement: fixed)

Opened 17 months ago

Last modified 17 months ago

Widget factory should auto detect getters

Reported by: scott.gonzalez Owned by: scott.gonzalez
Priority: blocker Milestone: 1.8
Component: ui.core Version: 1.7.1
Keywords: Cc:

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

auto-getters.patch Download (2.7 KB) - added by scott.gonzalez 17 months ago.

Change History

Changed 17 months ago by scott.gonzalez

Changed 17 months ago by scott.gonzalez

  • owner set to scott.gonzalez
  • status changed from new to accepted

Changed 17 months ago by scott.gonzalez

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in r2453.

Note: See TracTickets for help on using tickets.