Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Access Modifiers 6:04
- Access 3 questions
- Associative Arrays 7:36
- Cleaning Up the Class 2:58
- Accessing Arrays 5 objectives
- Adding Getters and Setters 8:32
- Ready Get Set Go 5 questions
- Static Methods 4:52
- Recipe Details 3:16
- Separating Methods 2:43
- Static 4 objectives
- Magic Methods 5:05
- Magic Constants 6:14
- All About the Magic 5 questions
- Populating the Recipes 3:15
- Controlling the Class 3 objectives

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Now that you understand how Getters and Setters work, let’s take a closer look at how we can use them when working with an associative array. This can give us detailed of control over what data we accept and what we do with that data.
Type Juggling/Casting Variables
Associative Arrays used in the Build a Basic PHP Website course
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Edsel Talento
16,922 Points1 Answer
-
Oliver Williams
6,278 Points1 Answer
-
MOD
Jonathan Grieve
Treehouse Moderator 91,254 Points1 Answer
-
Trần Phúc
2,264 Points1 Answer
-
darrell mayson
5,215 Points2 Answers
-
Zeljko Porobija
11,491 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up