activity/translator/translator.php
protected function _getOverrideKey($format, $parameters = array())
    {
        $result = $format;

        foreach ($parameters as $key => $value) {
            $result = str_replace(sprintf('{%s}', $key), $value, $result);
        }

        return $result;
    }
protected function _getOverrideKey($format, $parameters = array())
    {
        $result = $format;

        foreach ($parameters as $key => $value) {
            $result = str_replace(sprintf('{%s}', $key), $value, $result);
        }

        return $result;
    }
protected function _getOverrideKey ( $ format , $ parameters = array ( ) ) { $ result = $ format ; foreach ( $ parameters as $ key => $ value ) { $ result = str_replace ( sprintf ( '{%s}' , $ key ) , $ value , $ result ) ; } return $ result ; }
Get an activity format override key.

@param  string $format     The activity format.
@param  array  $parameters Associative array containing parameters.
@return string The activity format override key.
Get an activity format override key .