Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| info:dokuwiki [2019/07/10 15:07] – créée frog | info:dokuwiki [2019/07/10 15:11] (Version actuelle) – frog | ||
|---|---|---|---|
| Ligne 5: | Ligne 5: | ||
| Plug In de coloration syntaxique: [[https:// | Plug In de coloration syntaxique: [[https:// | ||
| + | <code sxh> | ||
| + | <sxh php; first-line: 89; highlight: [106,107]; title: New title attribute in action> | ||
| + | /** | ||
| + | * Render xhtml output or metadata | ||
| + | * | ||
| + | * @param string | ||
| + | * @param Doku_Renderer | ||
| + | * @param array $data The data from the handler() function | ||
| + | * @return bool If rendering was successful. | ||
| + | */ | ||
| + | public function render($mode, | ||
| + | if($mode != ' | ||
| + | |||
| + | if (count($data) != 3) { | ||
| + | return true; | ||
| + | } | ||
| + | |||
| + | list($syntax, | ||
| + | if ($syntax == ' | ||
| + | $title = $this-> | ||
| + | $highlight = $this-> | ||
| + | $renderer-> | ||
| + | } else { | ||
| + | $renderer-> | ||
| + | } | ||
| + | |||
| + | return true; | ||
| + | } | ||
| + | </ | ||
| + | </ | ||
| + | <sxh php; first-line: 89; highlight: [106,107]; title: New title attribute in action> | ||
| + | /** | ||
| + | * Render xhtml output or metadata | ||
| + | * | ||
| + | * @param string | ||
| + | * @param Doku_Renderer | ||
| + | * @param array $data The data from the handler() function | ||
| + | * @return bool If rendering was successful. | ||
| + | */ | ||
| + | public function render($mode, | ||
| + | if($mode != ' | ||
| + | |||
| + | if (count($data) != 3) { | ||
| + | return true; | ||
| + | } | ||
| + | |||
| + | list($syntax, | ||
| + | if ($syntax == ' | ||
| + | $title = $this-> | ||
| + | $highlight = $this-> | ||
| + | $renderer-> | ||
| + | } else { | ||
| + | $renderer-> | ||
| + | } | ||
| + | |||
| + | return true; | ||
| + | } | ||
| + | </ | ||