On 09.08.02 (08:54), Alan Knowles wrote:
> just a few suggestions for those classes.
> 
> you have massive var copying
> $this->abstract = $object->abstract;
> $this->abstract = $object->abstract;
> .....
> 
> you could use..
>    foreach (get_object_vars($object) as $k=>$v) {
>        $this->$k = $v;
>   }

We tried this already (nobody WANTS to code as ugly as we had to
in _mgdCopyXXX), but it does not really work cleanly. I don't
remember the exact problem, maybe Torben or Christian do?

     phr
-- 
Linksystem Muenchen GmbH                          [EMAIL PROTECTED]
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to