Source

Tanur / application / modules / foo / controllers / foo.php

Full commit
<?php

class Foo extends MX_Controller
{
	public function __construct()
	{
		parent::__construct();
	}
	
	public function index()
	{
		echo 'Ini index dari Foo';
	}
	
	public function bar($argumen = FALSE)
	{
		echo 'Ini method ' . __METHOD__;
		if ($argumen)
		{
			echo ' Dan argumen dengan nilai: ' . $argumen;
		}
	}
}