What does :: means in the following code? function _DEFAULT() { mosMenuBar::media_manager( 'banners' ); } PHP: Thanx
It's called a scope resolution operator, or paamayim-nekudotayim as mehmetm said, and allows a static, constant, and overridden class method to be executed without the need for instantiating an object of that class. So instead of using $object->method() you use class::method().
as qazu said, you don't need to create an object of the class while using its functions.. so here is an example http://lixlpixel.org/recursive_function/php/manual/keyword.paamayim-nekudotayim.html
Read this. http://php.net/manual/language.oop5.paamayim-nekudotayim.php Then this. http://php.net/manual/language.namespaces.rules.php