[eluser]Rubiz'[/eluser]
Hi, I'm going ask something from PHP OOP, not about Code Igniter...
I have a method called "session" and if some parameters are set, this method calls "subsession" method.
But now, I got a change from de client, and I need verify a variable inside "session" method, when I'm using "subsession" method... I thought about something like that:
Code:
if ( $this->session->$variable == '1')
Can I do this?