2009年6月4日星期四

Re: [fw-mvc] get and set accessors

On Thu, Jun 4, 2009 at 3:20 PM, Hector Virgen<djvirgen@gmail.com> wrote:
> I understand the benefits of magic methods, but how will I know if my object
> even has them (or which properties can be set) if it's not in the interface?

You put the magic methods in a basic model class and then extend
everything from there.

Did you understand what I said about why you wouldn't put magic
methods in the interface?

-Ed

没有评论: