Lines Matching defs:replacers
14 * Templates are wiki pages, with replacers being delimited like:
78 $replacers = preg_split('/(?<!\\\\)\|/', $match); // Get the replacers
79 $wikipage = array_shift($replacers);
81 $replacers = $this->_massageReplacers($replacers);
103 return array($wikipage[0], $replacers, $section);
287 function _massageReplacers($replacers) {
289 if (is_null($replacers)) {
292 } else if (is_string($replacers)) {
293 if ( str_contains($replacers, '=') && (substr(trim($replacers), -1) != '=') ){
294 list($k, $v) = explode('=', $replacers, 2);
298 } else if ( is_array($replacers) ) {
299 foreach($replacers as $rep) {
312 //die("FATAL ERROR! Unknown type passed to syntax_plugin_templater::massageReplaceMentArray() can't message syntax_plugin_templater::\$replacers! Type is:".gettype($r)." Value is:".$r);