Child pages
  • Ability to load kDBItem class object from hash
Skip to end of metadata
Go to start of metadata

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. 

load_item_from_hash.patch

Related Tasks

INP-481 - Getting issue details... STATUS

2 Comments

  1. Here is the task:

    INP-481 - Getting issue details... STATUS