[PHP] References Explained... (This time Im stumped)

2004-09-19 Thread Gerard Samuel
I could have sworn that references and I used to get along... In the menu::hasChild method, I cant seem to reference $this-_data. $this-_data is supposed to be a reference to the original array $array in the local scope. The only way to make this script work is to call on the $GLOBALS array in

Re: [PHP] References Explained... (This time Im stumped)

2004-09-19 Thread Gerard Samuel
Gerard Samuel wrote: I could have sworn that references and I used to get along... In the menu::hasChild method, I cant seem to reference $this-_data. $this-_data is supposed to be a reference to the original array $array in the local scope. The only way to make this script work is to call on the