Source

Tanur / application / modules / hmvc / controllers / hmvc.php

Full commit
<?php

class HMVC extends MX_Controller
{
	function __construct()
	{
		parent::__construct();
	}
	
	function index()
	{
		echo 'Ini index class Controller HMVC.<br />';
		$this->load->helper('url');
		echo anchor('HMVC/tes_run_module', 'Run Modul lain');
	}
	
	function tes_run_module()
	{
		echo 'Ini method ' . __METHOD__ . ' dari class ' . __CLASS__;
		echo '<hr />';
		echo modules::run('Foo/bar', 'halo, saya argumen');
	}
}