includes/wikiengine/Render/Plain/Anchor.php
author Dan
Wed, 27 May 2009 09:44:07 -0400
changeset 1003 28e2f75d66fd
parent 1 fe660c52c48f
permissions -rw-r--r--
Class "currentpage" is now added to all internal links, including sidebar buttons, if the link points to the current page.

<?php

/**
* 
* This class renders an anchor target name in XHTML.
*
* @author Manuel Holtgrewe <purestorm at ggnore dot net>
*
* @author Paul M. Jones <pmjones at ciaweb dot net>
*
* @package Text_Wiki
*
*/

class Text_Wiki_Render_Plain_Anchor extends Text_Wiki_Render {
    
    function token($options)
    {
        return $options['name'];
    }
}

?>