Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-481

Ability to load kDBItem class object from hash

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.1.0-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: