Hi,
Some programming languages have a WITH statement that allows you to do something like this (psuedo code):
with myobject
.property1 = variable1
.property2 = variable2
.method()
endwith
I know that's a bit rough but hopefully you get the idea. Is this possible in PHP? It would prevent me typing $this-> alot.
Cheers
nathj
Some programming languages have a WITH statement that allows you to do something like this (psuedo code):
with myobject
.property1 = variable1
.property2 = variable2
.method()
endwith
I know that's a bit rough but hopefully you get the idea. Is this possible in PHP? It would prevent me typing $this-> alot.
Cheers
nathj
Comment