Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

http://www.in-portal.com
http://www.alex-time.com

load_item_from_hash.patch