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);