Searched refs:replacers (Results 1 – 6 of 6) sorted by relevance
/plugin/datatemplate/syntax/ |
H A D | entry.php | 175 $replacers['raw_keys'] = array(); 176 $replacers['raw_vals'] = array(); 177 $replacers['keys'] = array(); 178 $replacers['vals'] = array(); 183 $replacers['keys'][] = "@@" . $key . "@@"; 184 $replacers['raw_keys'][] = "@@!" . $key . "@@"; 197 $replacers['vals'][] = $ret; 198 $replacers['raw_vals'][] = $ret_raw; 201 $replacers['raw_vals'][] = $val; 205 $raw = str_replace($replacers['raw_keys'], $replacers['raw_vals'], $rawFile); [all …]
|
H A D | list.php | 201 $replacers['keys'][] = "@@" . $head . "@@"; 215 $replacers['vals_id'] = array(); 216 $replacers['keys_id'] = array(); 218 $replacers['keys_id'][$i] = array(); 219 foreach($replacers['keys'] as $key) { 222 $replacers['vals_id'][$i] = array(); 223 $replacers['raw_vals'] = array(); 225 $replacers['raw_vals'][] = trim($cval); 230 $rawPart = str_replace($replacers['raw_keys'], $replacers['raw_vals'], $rawFile); 232 $rawPart = str_replace($replacers['keys'], $replacers['keys_id'][$i], $rawPart); [all …]
|
/plugin/date/ |
H A D | syntax.php | 62 $replacers = preg_split('/(?<!\\\\)\|/', $match); 65 $dataformat = array_shift($replacers); 68 $replacers = $this->_GetKeyValues($replacers); 75 return array($dataformat,$replacers,$cnst); 248 function _GetKeyValues($replacers) argument 251 if (is_null($replacers)) { 254 } else if (is_string($replacers)) { 255 list ($k, $v) = explode('=', $replacers, 2); 259 } else if (is_array($replacers)) { 260 foreach($replacers as $rep) {
|
/plugin/templater/ |
H A D | syntax.php | 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)) { 298 _massageReplacers($replacers) global() argument [all...] |
/plugin/include/ |
H A D | action.php | 344 $replacers = explode('|', $syntax); 345 $syntax = array_shift($replacers); 364 if ($replacers) $result .= '|'.$replacers;
|
/plugin/strata/helper/ |
H A D | triples.php | 37 $replacers = array($conf['metadir']); 38 return str_replace($tokens,$replacers,$str);
|