Re: Class methods in PHP
| From: | Aaron Tuller | Date: | Sat, 24 Feb 2001 19:51:37 +0000 |
| Subject: | Re: Class methods in PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41505@lists.php.net to get a copy of this message | ||
that's not true.
you can call a static method with the "::" notation.
like ClassName::method();
there's doesn't need to be an instance to do that.
not sure if that's true for all of PHP4 or just 4.04 or whatnot.
-aaron
At 11:56 AM -0500 2/24/01, Kevin Beckford wrote:
Well I meant class functions that do not need an object to be declared... but don't worry about it - I found out. There are none in php. ----- Original Message ----- From: "Christian Reiniger" <creinig@mayn.de> To: <php-general@lists.php.net>out Sent: Saturday, February 24, 2001 11:49 AM Subject: Re: [PHP] Class methods in PHP : On Saturday 24 February 2001 17:05, Kevin Beckford wrote: : > Is there class methods in php? : : Well, there are classes, classes can have methods, there are methods to : handle classes, methods to inspect methods, methods to inspect classes : and propably more. : : I have no idea what you mean with your question, but I hope that some : part of the above answers it... : : -- : Christian Reiniger : LGDC Webmaster (http://sunsite.dk/lgdc/) : : "The number of Unix installations has grown to 10, with more expected." : -- The Unix Programmer's Manual, 2nd Edition, June 1972 : : -- : PHP General Mailing List (http://www.php.net/) : To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net : For additional commands, e-mail: php-general-help@lists.php.net : To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net