in reply to Re: Re: Re: subclass and overridden constructor
in thread subclass and overridden constructor

i looked at the source and realized that subclassing *wasn't* what i should be doing.

i should have been writing a wrapper, not a subclass. so that's what i did, and stashed the Business::OnlinePayment object in the wrapper object. that takes care of the issue, and i just need an extra method call to access the processor object.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: subclass and overridden constructor
by duff (Parson) on Dec 03, 2003 at 22:24 UTC

    You could use delegation to bypass that extra method call assuming you mean from the object users point of view