1<?php
2/**
3 * Mailto plugin, mail the current page to several people
4 *
5 * @author     Cédric Villemain <cedric.villemain@dalibo.com>
6 */
7// must be run within Dokuwiki
8if(!defined('DOKU_INC')) die();
9require_once DOKU_INC.'inc/parser/renderer.php';
10require_once DOKU_INC.'inc/parser/xhtml.php';
11
12/**
13 * The Renderer
14 */
15class renderer_plugin_mailto extends Doku_Renderer_xhtml {
16    /**
17     * return some info
18     */
19    function getInfo(){
20        return confToHash(dirname(__FILE__).'/info.txt');
21    }
22
23    /**
24     * the format we produce
25     */
26    function getFormat(){
27        return 'email';
28    }
29
30//     function document_start() {
31// 		$this->info["cache"] = false;
32//   }
33}