'Taka Strophe', 'name' => 'LinkId Plugin', 'url' => 'http://hungryworlds.fr');} function connectTo($mode){ $this->Lexer->addSpecialPattern('\{\{linkid:[^}]*\}\}', $mode, 'plugin_linkid'); } function handle($match, $state, $pos, &$handler) { return explode(':', substr($match, strlen('{{linkid:'), -2)); } function render($mode, &$renderer, $data) { $renderer->doc .= '' .htmlspecialchars($data[1]) . ''; } } ?>