function handle($match, $state, $pos, Doku_Handler $handler) {
// echo "handle: state=$state
";
// echo "handle: match=$match
";
// echo "handle: pos=$pos
";
...
function render($mode, Doku_Renderer $renderer, $data) {
if ($mode == 'xhtml') {
$img = DOKU_BASE . 'lib/plugins/plantuml/img.php?' . buildURLParams($data);