2007-04-14 01:49:11 +04:00
|
|
|
Sometimes you may want to get a copy of your object (a new object with all properties copied).
|
|
|
|
Doctrine provides a simple method for this: Doctrine_Record::copy().
|
2007-04-13 00:52:30 +04:00
|
|
|
|
2007-04-14 01:49:11 +04:00
|
|
|
<code type="php">
|
|
|
|
$copy = $user->copy();
|
|
|
|
</code>
|