Home
last modified time | relevance | path

Searched refs:replacements (Results 1 – 25 of 81) sorted by relevance

1234

/plugin/swiftmail/Swift/Plugin/Decorator/
H A DReplacements.php26 protected $replacements; variable in Swift_Plugin_Decorator_Replacements
32 public function __construct($replacements = array()) argument
34 $this->setReplacements($replacements);
41 public function addReplacements($address, $replacements) argument
43 $this->replacements[strtolower($address)] = (array)$replacements;
50 public function setReplacements($replacements) argument
52 $this->replacements = array_change_key_case((array) $replacements, CASE_LOWER);
60 return $this->replacements;
71 if (array_key_exists($address, $this->replacements))
73 return (array)$this->replacements[$address];
/plugin/swiftmail/Swift/Plugin/
H A DDecorator.php29 protected $replacements; variable in Swift_Plugin_Decorator
50 public function __construct($replacements=null) argument
52 $this->setReplacements($replacements);
119 $replacements = (array)$this->replacements->getReplacementsFor($to);
191 return str_replace(array_keys($replacements), array_values($replacements), $value);
230 public function setReplacements($replacements) argument
232 if ($replacements === null)
237 elseif (is_array($replacements))
239 $this->replacements = new Swift_Plugin_Decorator_Replacements($replacements);
243 $this->replacements = $replacements;
[all …]
/plugin/dev/
H A DSkeletor.php139 $replacements = $this->actionReplacements($options);
145 $replacements['@@PLUGIN_COMPONENT_NAME@@'] = $class;
146 $replacements['@@SYNTAX_COMPONENT_NAME@@'] = $self;
147 $this->loadSkeleton($type . '.php', $path, $replacements);
168 $replacements = ['@@TEST@@' => $test];
169 $this->loadSkeleton('_test/StandardTest.php', '_test/' . $test . 'Test.php', $replacements);
210 * Prepare the string replacements
212 * @param array $replacements override defaults
215 protected function prepareReplacements($replacements = [])
230 return array_merge($data, $replacements);
207 prepareReplacements($replacements = []) global() argument
263 loadSkeleton($skel, $target = '', $replacements = []) global() argument
[all...]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
H A DPsrLogMessageProcessor.php52 $replacements = [];
60 $replacements[$placeholder] = $val;
65 $replacements[$placeholder] = (string) $val;
67 … $replacements[$placeholder] = $val->format($this->dateFormat ?: static::SIMPLE_DATE);
70 $replacements[$placeholder] = '[object '.Utils::getClass($val).']';
72 $replacements[$placeholder] = 'array'.Utils::jsonEncode($val, null, true);
74 $replacements[$placeholder] = '['.gettype($val).']';
82 $record['message'] = strtr($record['message'], $replacements);
/plugin/bureaucracyau/helper/
H A Dfield.php387 $replacements = array(); // check if empty to prevent php 5.3 warning
389 $replacements = array_combine($pregs[0], $pregs[2]);
394 $replacements = array_map('hsc', $replacements);
397 …if(isset($replacements['@@LABEL@@'])) $replacements['@@LABEL@@'] = hsc($replacements['@@LABEL@…
398 …if(isset($replacements['@@DISPLAY@@'])) $replacements['@@DISPLAY@@'] = hsc($replacements['@@DISPLA…
402 if(isset($replacements['@@DISPLAY@@']) && !isset($params['optional'])){
403 $replacements['@@DISPLAY@@'] .= ' <sup>*</sup>';
405 $val = str_replace(array_keys($replacements), array_values($replacements), $val);
/plugin/bureaucracy-au/helper/
H A Dfield.php387 $replacements = array(); // check if empty to prevent php 5.3 warning
389 $replacements = array_combine($pregs[0], $pregs[2]);
394 $replacements = array_map('hsc', $replacements);
397 …if(isset($replacements['@@LABEL@@'])) $replacements['@@LABEL@@'] = hsc($replacements['@@LABEL@…
398 …if(isset($replacements['@@DISPLAY@@'])) $replacements['@@DISPLAY@@'] = hsc($replacements['@@DISPLA…
402 if(isset($replacements['@@DISPLAY@@']) && !isset($params['optional'])){
403 $replacements['@@DISPLAY@@'] .= ' <sup>*</sup>';
405 $val = str_replace(array_keys($replacements), array_values($replacements), $val);
/plugin/bureaucracy/helper/
H A Dfield.php387 $replacements = array(); // check if empty to prevent php 5.3 warning
389 $replacements = array_combine($pregs[0], $pregs[2]);
394 $replacements = array_map('hsc', $replacements);
397 …if(isset($replacements['@@LABEL@@'])) $replacements['@@LABEL@@'] = hsc($replacements['@@LABEL@…
398 …if(isset($replacements['@@DISPLAY@@'])) $replacements['@@DISPLAY@@'] = hsc($replacements['@@DISPLA…
402 if(isset($replacements['@@DISPLAY@@']) && !isset($params['optional'])){
403 $replacements['@@DISPLAY@@'] .= ' <sup>*</sup>';
405 $val = str_replace(array_keys($replacements), array_values($replacements), $val);
/plugin/epub/scripts/
H A Dcss3.php192 function css_applystyle($css, $replacements) { argument
196 foreach((array) $replacements as $key => $value) {
201 $replacements[$key] = $lkey;
205 $css = strtr($css, $replacements);
224 $replacements = array(); // placeholder => value
240 …$replacements = array_merge($replacements, css_fixreplacementurls($data['replacements'],$webbase));
258 …$replacements = array_merge($replacements, css_fixreplacementurls($data['replacements'],$webbase));
264 'replacements' => $replacements
274 foreach($replacements as $key => $value) {
277 return $replacements;
[all …]
/plugin/ckgedit/scripts/
H A Dcss6.php199 function css_ckg_applystyle($css, $replacements) { argument
203 foreach((array) $replacements as $key => $value) {
208 $replacements[$key] = $lkey;
212 $css = strtr($css, $replacements);
231 $replacements = array(); // placeholder => value
247 …$replacements = array_merge($replacements, css_ckg_fixreplacementurls($data['replacements'],$webba…
265 …$replacements = array_merge($replacements, css_ckg_fixreplacementurls($data['replacements'],$webba…
271 'replacements' => $replacements
281 foreach($replacements as $key => $value) {
284 return $replacements;
[all …]
/plugin/google_adsense2/
H A Dcode.php192 $replacements[0] = $gads_settings['google_ad_client'];
194 $replacements[1] = $gads_settings['google_color_border'];
196 $replacements[2] = $gads_settings['google_color_bg'];
198 $replacements[3] = $gads_settings['google_color_link'];
200 $replacements[4] = $gads_settings['google_color_url'];
202 $replacements[5] = $gads_settings['google_color_text'];
205 $obj .= preg_replace($patterns, $replacements, $page);
/plugin/freechat/phpfreechat/src/proxies/
H A Dcensor.class.php52 $replacements = array();
59 $replacements[] = "'\\1'.str_repeat('$replaceby',strlen('\\2')).'\\3'";
65 $replacements[] = str_repeat($replaceby,strlen($w));
68 $param = preg_replace($patterns, $replacements, $param);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Operators/
H A DValidLogicalOperatorsSniff.php63 $replacements = array(
69 if (isset($replacements[$operator]) === false) {
76 $replacements[$operator],
/plugin/newpagetemplate/lang/en/
H A Dhowto.txt1 This admin app is a GUI for the command line plugin that is described in the [[doku>plugin:newpagetemplate:cmdline|]] documentation. It has four options, corresponding to the main command line options.: ''Ini file'', ''Template'', ''Page id'', and ''User replacements''. These options enable you to process a single page using the selected page and template or one or more pages using one or more templates using an initialization file.
3 If you choose both ''ini file'' and ''Page id'', ''Page id'' will take precedence. If you choose ''Page id'', you must choose a template. The ''User replacements'' are the ''newpagevars'' that are explained in the [[doku>plugin:newpagetemplate#usage|newpagetemplate]] documentation. If you choose an initialization file, you can use the ''User replacements'' option to add replacements to those in the initialization file.
/plugin/latexport/implementation/
H A Ddecorator.php96 $replacements[ 0] = 'a';
97 $replacements[ 1] = 'e';
98 $replacements[ 2] = 'i';
99 $replacements[ 3] = 'o';
100 $replacements[ 4] = 'u';
101 $replacements[ 5] = 'ae';
102 $replacements[ 6] = 'c';
103 $replacements[ 7] = 'ss';
104 $replacements[ 8] = '-';
105 $replacements[ 9] = ':';
[all …]
/plugin/recommend/helper/
H A Dmail.php13 * @param array $replacements
17 public function sendMail($recipient, $sender, $replacements = []) argument
32 $mailer->setBody($mailtext, $replacements);
/plugin/advanced/lang/en/config/
H A Dstyleini.txt3 …[doku>devel:css|CSS]] styles. It has two sections: [stylesheets] and [replacements] described belo…
15 === [replacements] ===
17 …holders in the loaded stylesheets which are configured through the ''[replacements]'' section in t…
19 These replacements can also be used as [[doku>devel:less#accessing_styleini_placeholders|LESS varia…
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
H A DUriTemplate.php103 $replacements = [];
197 $replacements[] = $expanded;
200 $ret = implode($joiner, $replacements);
/plugin/aichat/vendor/vanderlee/php-sentence/src/
H A DSentence.php40 * List of replacements in the text.
44 private $replacements = []; variable in Vanderlee\\Sentence\\Sentence
69 $this->replacements = [];
76 $this->replacements[$index] = $number;
87 * Restore any stored replacements
96 foreach ($this->replacements as $index => $number) {
/plugin/structnotification/action/
H A Dnotification.php227 $replacements = [];
233 $replacements[] = $value->getDisplayValue();
236 return preg_replace($patterns, $replacements, $message);
/plugin/publistf/bib2tpl/
H A Dbibtex_converter.php455 $replacements = array();
465 $replacements []= $value;
469 $replacements []= call_user_func($this->sanitise, $value);
473 return preg_replace($patterns, $replacements, $result);
/plugin/publistx/bib2tpl/
H A Dbibtex_converter.php451 $replacements = array();
460 $replacements []= $value;
464 $replacements []= call_user_func($this->sanitise, $value);
468 return preg_replace($patterns, $replacements, $result);
/plugin/selfmeasurement/
H A Dstyle.ini1 [replacements] section
/plugin/mytemplate/
H A Daction.php268 $replacements = 1;
269 for ($pass = 0; $replacements != 0 && ($maxpasses == -1 || $pass <= $maxpasses); $pass++) {
271 $replacements = 0;
355 $replacements++;
/plugin/advanced/lang/en/
H A Dconfig.txt13 … | [[doku>entities]] | automatic text replacements |
16 …nf'' | [[doku>smileys]] | image replacements
/plugin/publist/bib2tpl/
H A Dbibtex_converter.php436 $replacements = array();
444 $replacements []= call_user_func($this->sanitise, $value);
447 return preg_replace($patterns, $replacements, $result);

1234