17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » Best way extending / rewriting sapphire classes
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 597 Views |
-
Best way extending / rewriting sapphire classes

21 March 2009 at 1:29am Last edited: 21 March 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
| 597 Views | ||
|
Page:
1
|
Go to Top |
