/
Ability to load kDBItem class object from hash
Ability to load kDBItem class object from hash
Imported from: http://groups.google.com/group/in-portal-dev/browse_thread/thread/7f1644d3dff4ecd4#
Hi, I think, that we should add LoadFromHash (or something similar) method to kDBItem class. This method will allow use to simulate actual Load method, but data will be retrieved from given field set and not from database. This is not just call of SetDBFieldsFromHash as it might seem. Such method also calls OnBefore/OnAfter events and sets original field values and item ID. This method could be useful during import operations.