[snip] to be honest i meanwhile have a workaround. [/snip] How about extending the API class and putting the function within the extended class that you need? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php