[PHP] More CLASS help

2006-02-28 Thread Jason Gerfen
I am not sure if what I am doing here is a problem or not. Pointers? class mySubnet { var $data; function SubnetSettings( $level, $add_vlan, $edit_vlan, $del_vlan ) { $subnets = new mySubnet; } } -- Jason Gerfen When asked what love is: Love is the Jager talking. ~Craig Baldo -- PHP

RE: [PHP] More CLASS help

2006-02-28 Thread jblanchard
[snip] I am not sure if what I am doing here is a problem or not. Pointers? class mySubnet { var $data; function SubnetSettings( $level, $add_vlan, $edit_vlan, $del_vlan ) { } } [/snip] Call the constructor outside of the class. $subnets = new mySubnet; -- PHP General Mailing List

Re: [PHP] More CLASS help

2006-02-28 Thread Jochem Maas
Jason Gerfen wrote: I am not sure if what I am doing here is a problem or not. Pointers? pointers don't 'exist' in php (like they do in C) - oh crap, you meant 'pointers' in the general english language sense. the question would be what are you trying to do? class mySubnet { var