->
I see it all over but can find its definition anywhere.[/b]
Can someone tell me what this is? ->
Moderator: General Moderators
-
lemonfreshmedia
- Forum Commoner
- Posts: 26
- Joined: Fri Dec 02, 2005 7:14 pm
it is how you call a method or property for an object.
ex:
ex:
Code: Select all
$someInstance = new someClass();
echo $someInstance->someMethod();- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Can someone tell me what this is? ->
Read it from Right to Left (backwards for most of the west) as "OF".lemonfreshmedia wrote:->
I see it all over but can find its definition anywhere.[/b]
So:
SomeClass->SomeMethod();
Would read:
SomeMethod OF SomeClass.
I've heard it done with "IN", but I don't particularly like that interpretation and implication.
The double-colon ( :: ) is called Paamayim Nekudotayim, which in Hebrew means (almost literally) double-colon. But to be honest, I don't know the technical name for ->.