includes/wikiengine/Render/Plain/Wikilink.php
author Dan
Wed, 09 Jul 2008 13:20:49 -0400
changeset 610 de33b0d26741
parent 1 fe660c52c48f
permissions -rw-r--r--
Fixed gzip output - no longer depends on ob_gzhandler(), uses gzencode() now with a failsafe available if gzencode() is not available. Public function gzip_output() remains unchanged.

<?php

class Text_Wiki_Render_Plain_Wikilink extends Text_Wiki_Render {
    
    
    /**
    * 
    * Renders a token into plain text.
    * 
    * @access public
    * 
    * @param array $options The "options" portion of the token (second
    * element).
    * 
    * @return string The text rendered from the token options.
    * 
    */
    
    function token($options)
    {
        return $options['text'];
    }
}
?>