jimfog Posted June 9, 2011 Share Posted June 9, 2011 Look at the following code: JPluginHelper::importPlugin What are these 4 dots in the middle?Is this an operator? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 9, 2011 Share Posted June 9, 2011 That's 2 colons. Yes, it's an operator.http://www.php.net/manual/en/language.oop5...nekudotayim.php Link to comment Share on other sites More sharing options...
jimfog Posted June 10, 2011 Author Share Posted June 10, 2011 That's 2 colons. Yes, it's an operator.http://www.php.net/manual/en/language.oop5...nekudotayim.php At last this question i had so long was resolved.I had search the php manual but i had not find anything-probably i did not search enough.Thanks, Link to comment Share on other sites More sharing options...
justsomeguy Posted June 10, 2011 Share Posted June 10, 2011 What, you didn't think to search for "Paamayim Nekudotayim"? I'm shocked. Link to comment Share on other sites More sharing options...
jimfog Posted June 10, 2011 Author Share Posted June 10, 2011 What, you didn't think to search for "Paamayim Nekudotayim"? I'm shocked.HahahahahhahahaThis a joke i am going to remember for time.Imagine telling that to other people-non computer people. Link to comment Share on other sites More sharing options...
jimfog Posted June 21, 2011 Author Share Posted June 21, 2011 HahahahahhahahaThis a joke i am going to remember for time.Imagine telling that to other people-non computer people.Ok, if the double colon is used to access class properties etc then where exactly the this keyword is used? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 21, 2011 Share Posted June 21, 2011 The double colon is used when you're accessing static properties which don't change between instances. This is used when you're referring to a specific instance with non-static members, from within the instance. It only applies in the context of the instance, so only used inside methods of the class. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.