Assuming the class definition is in memory b/c the defining file is loaded
(require, include, auto-load),
you can call the method by either:
a) instantiating an object instance of the class and then calling the method
b) calling the method statically (having no object).
See the manual for an example:
http://us.php.net/manual/en/language.oop5.basic.php

~ Greg

-- 
Greg Rundlett
Web Developer - Initiative in Innovative Computing
http://iic.harvard.edu
camb 617-384-5872
nbpt 978-225-8302
m. 978-764-4424
-skype/aim/irc/twitter freephile
http://profiles.aim.com/freephile
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to