Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21115

Improve MessageTemplate.Get API to support groupName/valueName params

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.24
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      This change allows the MessageTemplate.Get API function to be used throughout.  BAO function getMessageTemplates is rewritten to use the new API equivalent instead of direct SQL queries.

      stripTokens function added to remove PHP warnings when tokens are passed to smarty processor.

      Unit tests for both included.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: