On 16.08.2010 15:09, John Doe wrote:
> What I want to do is to, from the php, call my test() function with a
> variable that's sent from the php. I figured so much that include_script()
> only sends my test.js file to the init for inclusion and that it probably
> isn't suitable for my needs.
Use 'command' method of rcube_json_output class. E.g.
$RCMAIL->output->command('function_name', $arg);
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd