CRM-13580 - crmScope - Add support for "dynamic variable scopes" in Smarty
authorTim Otten <totten@civicrm.org>
Fri, 11 Oct 2013 17:53:42 +0000 (18:53 +0100)
committerTim Otten <totten@civicrm.org>
Fri, 11 Oct 2013 17:53:42 +0000 (18:53 +0100)
commit9915ae361034d3c30d7a3e4623675fd00b382114
tree0dbe264eff66220290dd2cb2e763840ed58b6dbb
parent479e0bc3ff8e55b3796d70bce254939ba8402383
CRM-13580 - crmScope - Add support for "dynamic variable scopes" in Smarty

This allows one to temporarily a set variable for a brief duration -- and
restore the variable's original value afterward.

----------------------------------------
* CRM-13580: Set translation domain implicitly in extensions
  http://issues.civicrm.org/jira/browse/CRM-13580
CRM/Core/Smarty/plugins/block.crmScope.php [new file with mode: 0644]
tests/phpunit/CRM/Core/Smarty/plugins/CrmScopeTest.php [new file with mode: 0644]