Lines Matching defs:replacements
33 protected $replacements = ['text' => [], 'html' => []];
38 * Initializes the boundary strings, part counters and token replacements
188 * Set the text and HTML body and apply replacements
190 * This function applies a whole bunch of default replacements in addition
193 * If you pass the HTML part or HTML replacements yourself you have to make
197 * @param array $textrep replacements to apply on the text part
198 * @param array $htmlrep replacements to apply on the HTML part, null to use $textrep (urls wrapped in <a> tags)
226 // copy over all replacements missing for HTML (autolink URLs)
243 // add default token replacements
244 $trep = array_merge($this->replacements['text'], $textrep);
245 $hrep = array_merge($this->replacements['html'], $htmlrep);
247 // Apply replacements
649 * Populates the '$replacements' property.
665 $this->replacements['text'] = [
679 $this->replacements['text']['DOKUWIKIURL'],
682 $this->replacements['text']['EMAILSIGNATURE'] = "\n-- \n" . $signature . "\n";
684 $this->replacements['html'] = [
701 [$this->replacements['html']['DOKUWIKIURL'], '<br />'],
704 $this->replacements['html']['EMAILSIGNATURE'] = $signature;