Re: Re: CLASS/Object lifetime - > Solution
| From: | Jochem Maas | Date: | Thu, 23 Feb 2006 16:31:21 +0000 |
| Subject: | Re: Re: CLASS/Object lifetime - > Solution | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230969@lists.php.net to get a copy of this message | ||
roger helgesen wrote:
function fyll_sub_konto($pv){
foreach($this->subposter AS $konto=>$kt){
$kontoen=& $this->subposter[$konto];
$kontoen->fyll_fra_post($pv);
$kontoen->endre();
}
}
the line
$kontoen=& $this->subposter[$konto];
yeah - you grokked it!