PHP5: __call() implementation

From: Date: Thu, 05 Feb 2004 14:22:23 +0000
Subject: PHP5: __call() implementation
Groups: php.general 
Request: Send a blank email to php-general+get-176891@lists.php.net to get a copy of this message
Hello, as you know there is a new callback function __call($method, $params) in php5. the __call() method of an object is called, if the method named $method is not declared in this class. i want this function simply call the method of another class with "SomeClass::$method(...)" but i'm getting into trouble (bit heavy programming!:) passing the arguments (stored as Array in $params) to the "SomeClass::$method([arguments])" method... further, i think i'm getting problems with objects passed through the __call() method?! any suggestions? thanks vivi

« previous php.general (#176891) next »