function _getOriginalExt(&$aInfo, $sTmpl, $sKey = '{ext}') { return str_replace($sKey, $aInfo['medExt'], $sTmpl); }