I love to try and see how open source software works so that I can try and learn new ways to create code and increase my knowledge with certain programming languages.
I have been digging through phpbb3 code to try and see how it manages sessions and user information through its various classes.
I haven't been able to trace where $user->data is being set throughout any of the classes. Can someone help breakdown how their session management class works in conjunction with their user class?
Most of the files that access the session and user classes start with this code:
// Start session management
$user->session_begin();
$auth->acl($user->data);
I have been able to trace where the session_begin function sits within the session class and I see that session class extends the user class, but I have not been able to track down where the $user->data is being set or returned.
Anyone have a good break down?