Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Best way extending / rewriting sapphire classes


Go to End


1693 Views

Avatar
bschmitt

Community Member, 22 Posts

21 March 2009 at 1:29am

Edited: 21/03/2009 1:30am

Hi there,

I have to adjust some little points in the HTTPResponse and Controller class cause of specific circumstances. Of course I don't want to adjust sapphire directly in the framework folder. So is there a nice way to do this via a module or something else?

I just created an own MyHTTPResponse and MyController class which "extends" in each case the main class (HTTPResponse/ Controller). If I put these files in /myModule/code in got an error (class not found).

Many thanks,
Bjoern