[DC-1032] [PATCH] Doctrine_Collection::isModified() does not support deep like Doctrine_Record but probably should Created: 23/Aug/11 Updated: 23/Aug/11 |
|
| Status: | Open |
| Project: | Doctrine 1 |
| Component/s: | Relations |
| Affects Version/s: | 1.2.3, 1.2.4 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial |
| Reporter: | Christian Roy | Assignee: | Roman S. Borschel |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
$record instanceof Doctrine_Record; Using the $record object I can find out if it has been modified : $record->isModified(). However, the $collection object only support the first level and not the relations of its member records, The improvement would be to allow this method to accept true, like it's $record counterpart, which would return true instead. See attached patch. |