An "OOP approved" way, instead of butchering new() is to have a static class method that returns the list of instances with the supplied identifiers
In reply to Re: OOP: How to construct multiple instances of a class at once
by space_monk
in thread OOP: How to construct multiple instances of a class at once
by DrGTO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |