Created
August 10, 2018 00:55
-
-
Save Blair2004/11bff6094cb1bfff3cb87ca8d35c64dd to your computer and use it in GitHub Desktop.
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 HelloWorldController extends Tendoo_Module | |
{ | |
public function __construt() | |
{ | |
parent::__construct(); | |
} | |
/** | |
* Index Method | |
* @param void | |
* @return void | |
**/ | |
public function index() | |
{ | |
// foo_module is the module namespace and helloworld is the filename | |
return $this->module_view( 'foo_module', 'helloworld' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment