Created
February 23, 2011 22:41
-
-
Save lukemorton/841351 to your computer and use it in GitHub Desktop.
Example CMS controller
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 defined('SYSPATH') or die('No direct script access.'); | |
class Controller_CMS extends Controller { | |
public function action_page() | |
{ | |
$page = $this->request->param('id', 'home'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment