How can I retrieve GET values inside a PHP Class construct or functions?
Similar subject can be found here which I referred to session values, scope. Access Session Variable within a class
Example which doesn't retrieve value, set inside class construct.
$this->siteid = $_GET['siteid'];
or
$this->siteid = $_REQUEST['siteid'];
The purpose of the above is to retrieve id for testing params, goal is to hold these inside session, similar problem.