Re: (RADIATOR) Using a GlobalVar from a Hook

2000-09-29 Thread Javier Chicharro
Carlos Canau wrote: > > I want to use a defined variable updated from a hook in > > AcctSQLStatement. For example : > > Try something along the lines of: > > &main::setVariable('varname', 'value'); Ups! There is an example in the 'goodies' directory. I'm sorry Thanks

Re: (RADIATOR) Using a GlobalVar from a Hook

2000-09-28 Thread Hugh Irvine
Hello Javier - Have a look at the example hooks in "goodies/hooks.txt" to see how to do this. regards Hugh On Fri, 29 Sep 2000, Javier Chicharro wrote: > I want to use a defined variable updated from a hook in > AcctSQLStatement. For example : > > AcctSQLStatment INSERT INTO table VALUES ('

(RADIATOR) Using a GlobalVar from a Hook

2000-09-28 Thread Javier Chicharro
I want to use a defined variable updated from a hook in AcctSQLStatement. For example : AcctSQLStatment INSERT INTO table VALUES ('%{GlobalVar:varname}') I've tested with a $p->setVariable('varname', 'value'); in a PreHook but it doesn't change the value. Is it possible to do