Skip to content

Instantly share code, notes, and snippets.

@Blair2004
Created August 10, 2018 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blair2004/11bff6094cb1bfff3cb87ca8d35c64dd to your computer and use it in GitHub Desktop.
Save Blair2004/11bff6094cb1bfff3cb87ca8d35c64dd to your computer and use it in GitHub Desktop.
<?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