Lines Matching defs:replacers
14 * Templates are wiki pages, with replacers being delimited like:
93 $replacers = preg_split('/(?<!\\\\)\|/', $match); // Get the replacers
94 $wikipage = array_shift($replacers);
96 $replacers = $this->_massageReplacers($replacers);
118 return array($wikipage[0], $replacers, $section);
302 function _massageReplacers($replacers) {
304 if (is_null($replacers)) {
307 } else if (is_string($replacers)) {
308 if ( str_contains($replacers, '=') && (substr(trim($replacers), -1) != '=') ){
309 list($k, $v) = explode('=', $replacers, 2);
313 } else if ( is_array($replacers) ) {
314 foreach($replacers as $rep) {
327 //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);