Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: brucomela on May 20, 2011, 03:45:48 AM

Title: Plugin template vars
Post by: brucomela on May 20, 2011, 03:45:48 AM
Hi,

to pass a value to the template, i use "$this->register_handler" function ( Doc_Plugins ? Roundcube Webmail (http://trac.roundcube.net/wiki/Doc_Plugins#Templates) ).
Works well, but... if i must pass to the template several vars, i must register for every var a function and it's quite painful...
Is it possible to pass an argument to the register_handler's function? So, i can use only one function for all my template's vars.

thanks
Marco