[eluser]greg.thompson[/eluser]
Hi guys, been fooling around with CI for a few days now, built out a nice login form with HASH/SALT security, validation etc. but there's one basic I can't quite seem to grasp and its "$this". So basically what I'm confused about is when I have some controller call a specific model then load a view, what all is accesible by the view and what is stored in $this? for example, I the user login, it validates, stores their basic info to the userdata like name and roles. Now in the view, what can I trigger with this? How come I call $this->session and it works? I always thought $this was only referencing the current object/class that you're currently in. But $this is a variable, and not 'this'. Do I even make sense?