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

Add param/skip_param support for "key" parameter of "m_Cache" tag

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Needs Changes
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.2.2
    • Component/s: Template System
    • Labels:
      None
    • Change Log Group:
      Added
    • Change Log Message:
      The "param" and "skip_param" now can be used in "key" attribute of "m_Cache" tag.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      In the "\NParser::FormCacheKey" method:

      1. "param" and "skip_param" types (see how "var" and "skip_var" are implemented), that would use "$this->GetParam" to get parameter value
      2. prefix cache key parts, that are added to $parts array based on their type to avoid conflicts (e.g. when template parameter is named like request variable)

        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:

                  Time Tracking

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