Re: Re: cvs: pear /Translation2 Admin.php

From: Date: Wed, 27 Oct 2004 15:50:22 +0000
Subject: Re: Re: cvs: pear /Translation2 Admin.php
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34104@lists.php.net to get a copy of this message
On Wednesday 27 October 2004 03:07 am, Michael Wallner wrote: > Hi Ian Eure, you wrote: > > + function &getAdminDecorator($decorator) > > + { > > + $decorator_path = > > 'Translation2/Admin/Decorator/'.$decorator.'.php'; + > > $decorator_class = 'Translation2_Admin_Decorator_'.$decorator; + > > require_once $decorator_path; > > + if (func_num_args() > 1) { > > + $obj =& func_get_arg(1); > > ^^^^^^^^^^^^^^^^^^^^^^^^ > > This does not what you seem to expect it to do. > Hmm, the &= ? I guess the second arg has to be declared as a reference and have a default value instead. Sound right?

Attachment: [application/pgp-signature]
« previous php.pear.dev (#34104) next »