Re: cvs: pear /Translation2 Admin.php
| From: | Michael Wallner | Date: | Wed, 27 Oct 2004 10:07:29 +0000 |
| Subject: | Re: cvs: pear /Translation2 Admin.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-25285@lists.php.net to get a copy of this message | ||
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.
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc