Welcome Guest, Not a member yet? Register   Sign In
reuse varibale in model
#1

[eluser]Russell Keith[/eluser]
I have the follwing variable declared in every function in my model:

$client = new soapclient("http://localhost:9090/summit/3440-TRAIN/services/CmdSpectrum?wsdl");

I would like to only declare it in one place and reuse it but I can't seem to find the correct location. Any help would be great.


Messages In This Thread
reuse varibale in model - by El Forum - 10-30-2009, 09:21 AM
reuse varibale in model - by El Forum - 10-30-2009, 09:42 AM
reuse varibale in model - by El Forum - 10-30-2009, 10:27 AM
reuse varibale in model - by El Forum - 10-30-2009, 10:53 AM
reuse varibale in model - by El Forum - 10-30-2009, 10:58 AM
reuse varibale in model - by El Forum - 10-30-2009, 03:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB