define a variable as private? [solved]

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lafflin
Forum Contributor
Posts: 123
Joined: Thu Jul 26, 2007 6:26 pm

define a variable as private? [solved]

Post by lafflin »

Hello, I'm a newb and I'm trying to learn what "private" means in regards to making a variable private. I think it means that the Value of the variable is specific to only the fuction it is contained in, but I don't want to think anything, I need to know for sure. I'm having trouble finding the information on my own, perhaps there is a tutorial on this somewhere?

The bigger picture is that I'm trying to learn how to implement the auth.net payment gateway (AIM) and so I'm having to learn OOP if anyone knows a good resource or tutorial to learn that.
Thanks.
Last edited by lafflin on Mon Sep 24, 2007 8:07 pm, edited 1 time in total.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

lafflin
Forum Contributor
Posts: 123
Joined: Thu Jul 26, 2007 6:26 pm

Post by lafflin »

That's what I was looking for, thanks Space Goat!
Post Reply