Make $_GET variable available within function scope
<p>How to pass a <code>$_GET</code> variable into function?</p>

<pre><code>$_GET['TEST']='some word';
public function example() {       
   //pass $_GET['TEST'] into here
}
</code></pre>

<p>When I try to access <code>$_GET['TEST']</code> in my function, it is empty.</p>
