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

Speed up formatter class access from "kDBItem"

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B3
    • Component/s: Optimization
    • Labels:
      None

      Description

      1. introduce protected "kDBBase::getFormatter" method that would:
        1. cache previously retrieved formatter class into private static "$_formattersCache" property
        2. if formatter isn't found in above-defined cache, then get it from the factory and store it in the cache
        3. otherwise, return formatter from the case
      2. instead of doing "recallObject" to get formatter in the "kDBBase" and "kDBItem" classes useĀ "kDBBase::getFormatter" methodĀ 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h