Thread
:
Variable class names
View Single Post
06-20-2008, 07:09 PM
#
2
(
permalink
)
Salathe
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Before PHP 5.3.0 you can use:
call_user_func(array($var, 'displayMenu'));
With PHP 5.3.0 and above you can use what you tried and it'll work fine.
The Following User Says Thank You to Salathe For This Useful Post:
delayedinsanity
(06-20-2008)
Salathe
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe