Created
July 16, 2012 13:58
-
-
Save thomaslarsson/3122868 to your computer and use it in GitHub Desktop.
User-Member composition illustration with print_r()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User object | |
{ | |
private user_id = 1; | |
private user_email = 'thomas@juvenorge.com'; | |
private user_access_key 'ergdvzwezsfgdzesgeszwsfd'; | |
private user_access_level = '1'; // Administrator | |
private user_last_active '2012/07/16 16:00'; | |
private member = Member object { | |
private member_id = 1; // Could be 2, 5, 72, etc | |
private date_of_registration = ''; // some date | |
private date_of_birth = '1990/10/27'; | |
private place_of_birth = 'Oslo'; | |
private gender = 'M'; | |
private first_name = 'Thomas'; | |
private last_name = 'Larsson'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment