Lines Matching refs:key
81 * @param string $embed Unique key to reference this file from the HTML part
103 * @param string $embed Unique key to reference this file from the HTML part
227 foreach ($textrep as $key => $value) {
228 if (isset($htmlrep[$key])) continue;
230 $htmlrep[$key] = '<a href="' . hsc($value) . '">' . hsc($value) . '</a>';
232 $htmlrep[$key] = hsc($value);
248 foreach ($trep as $key => $substitution) {
249 $text = str_replace('@' . strtoupper($key) . '@', $substitution, $text);
251 foreach ($hrep as $key => $substitution) {
252 $html = str_replace('@' . strtoupper($key) . '@', $substitution, $html);
604 * @param string $key
608 protected function wrappedHeaderLine($key, $val)
610 return wordwrap("$key: $val", 78, MAILHEADER_EOL . ' ') . MAILHEADER_EOL;
621 foreach ($this->headers as $key => $val) {
623 $headers .= $this->wrappedHeaderLine($key, $val);