10689 Posts in 2796 Topics by 1518 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: DataObjectSet::append() is deprecated ? | 368 views |

7 August 2008 at 12:43am
Hi,
I get this notice after upgrading to 2.2.2 : DataObjectSet::append() is deprecated. Use DataObjectSet::merge() instead.
But DataObjectSet::merge() is not 'compatible' with append. In the append method it is possible to append a DataObject to a DataObjectSet. With merge this is not possible.
So when I have a DataObjectSet, how can I append one DataObect to it?

29 September 2008 at 7:54pm
//just a kick for some attention ;)

30 September 2008 at 2:12am
Use DataObjectSet::push() instead.

30 September 2008 at 5:42pm
Im pretty sure you can just call push() which should add it to the end, just like FlorianH has said
| 368 views | |||
| go to top | Reply |