The key to Overloadable and Overloadable lies in the php4 versions of the files. Basically both classes serve as workarounds for PHP4's lack of magic methods. By using overload() you can add magic methods into PHP4 classes. So the overloadable classes are the base classes for all objects that have magic methods.
-Mark On Aug 24, 6:28 am, Biaggi <bia...@gmail.com> wrote: > I've been looking for a use of this class but i cant find any > changeset or documentation about the need of that class or what the > class resolves. > > The main diference between class Overloadable and Overloadable2 are > the __get and __set functions, this functions appears in commit [3957] > and seems to be fully deprecated. > > So, someone knows why the class Overloadable2 appears in the > Overloadable_php4.php and Overloadable_php5.php files. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---