is Class::$name doable?
| From: | Teodor Cimpoesu | Date: | Mon, 17 Jul 2000 16:36:22 +0000 |
| Subject: | is Class::$name doable? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6930@lists.php.net to get a copy of this message | ||
Problem:
* I want to call a class method by name
- call_user_method() requires an object
- call_user_function() doesn't like it
- $name ='method'; Class::$name() doesn't work.
Is there any other way to do it, or I am constrained to instantiate
the class?
-- teodor