Arguments via method in controller
<p>Frameworks like CodeIgniter does have this:</p>

<pre><code>public function index($arg1, $arg2) {
    echo $arg1;
}
</code></pre>

<p>where $arg1, $arg2 is something like. index.php/controller/index/arg1/arg2.</p>

<p>I am wondering how this works behind the wall? The code within these frameworks are like a jungle. I'm lost.</p>
