PHP Classes

Notable PHP package: PHP Copy Object Properties to Another

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 174

Last month viewers: 1

Categories: Notable Packages

PHP provides means to create an object using another object as source by using the clone object feature.

However, when you just want to copy the values of an object to another existing object, you need to copy the object variable values one by one. This class implements that functionality.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Copy Object Properties to Another is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Copy the values of attributes to another object

Here follows in more detail what it does:

This class can copy the values of attributes to another object.

It can take too given objects as parameters and uses reflection to determine what are the source object class variables.

The class can traverse the class variables list and copy the variable values from the source object to the destination object.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)