Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
248 jpm 1
<?php
2
 
3
 
4
class Text_Wiki_Render_Latex_Url extends Text_Wiki_Render {
5
 
6
 
7
    var $conf = array(
8
        'target' => false,
9
        'images' => true,
10
        'img_ext' => array('jpg', 'jpeg', 'gif', 'png')
11
    );
12
 
13
    /**
14
    *
15
    * Renders a token into text matching the requested format.
16
    *
17
    * @access public
18
    *
19
    * @param array $options The "options" portion of the token (second
20
    * element).
21
    *
22
    * @return string The text rendered from the token options.
23
    *
24
    */
25
 
26
    function token($options)
27
    {
28
        // create local variables from the options array (text,
29
        // href, type)
30
        extract($options);
31
 
32
        return " $text\\footnote\{$href}";
33
    }
34
}
35
?>