Created
June 13, 2013 02:18
-
-
Save trentsnippets/5770776 to your computer and use it in GitHub Desktop.
Basic Silverstripe Controller layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Tested 3.0 | |
* Text Page. | |
* This is all the logic for the Text page. | |
*/ | |
class TextPage extends Page | |
{ | |
} | |
/** | |
* Text Page Controller | |
*/ | |
class TextPage_Controller extends Page_Controller | |
{ | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment