Created
June 13, 2012 00:16
-
-
Save jedateach/2920959 to your computer and use it in GitHub Desktop.
Basic controller
This file contains 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 | |
class MyController extends Controller{ | |
static $url_segment = 'mycontroller'; | |
function Link($action = ""){ | |
return Controller::join_links(self::$url_segment,$action); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment