PDA

View Full Version : Quick Syntax Question


srule_
12-12-2007, 05:23 AM
Hello,

I'm learning about face book applications and I run into code like this quit a bit:

print_r($facebook->api_client->profile_setFBML($markup));


what do the "->" mean?

Thanks

Inigoesdr
12-12-2007, 05:31 AM
It's the operator(for lack of a better word) for accessing members of objects in PHP's OOP (http://php.net/language.oop5).

srule_
12-12-2007, 05:35 AM
Aww, Thank you! I have yet to start learning about OOP.

aedrin
12-12-2007, 02:44 PM
the operator(for lack of a better word)

Pssh, that is an operator! :P

Inigoesdr
12-12-2007, 02:46 PM
Yeah, that's what I thought, but I couldn't find it in the list of operators (http://php.net/operators).