Superfly1611
Regular
Hi Hi,
Is it possible to define a class within a class?
I have two classes 1: Product 2: ProductImagesCollection
I would like to restrict the ProductImagesCollection class so that it can only be used as part of an instantiated Product object and therefore cannot be instantiated in any other way.
Is this possible?
Many Thanks
Is it possible to define a class within a class?
I have two classes 1: Product 2: ProductImagesCollection
I would like to restrict the ProductImagesCollection class so that it can only be used as part of an instantiated Product object and therefore cannot be instantiated in any other way.
Is this possible?
Many Thanks