Created
March 5, 2014 18:59
-
-
Save alex-cory/9374085 to your computer and use it in GitHub Desktop.
Just to make it quicker to create an array.
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
// Array with the Teacher class's data | $teacher is the class instantiated | |
$teacher_Data = #array( | |
[ | |
'user_id' => $teacher->user_id, | |
'user_type' => $teacher->user_type, | |
'name' => $teacher->first_name . ' ' . $teacher->last_name, | |
'email_address' => $teacher->email_address | |
]; #); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment