includes/wikiengine/Render/Plain/Url.php
author Dan
Mon, 16 Jun 2008 19:07:15 -0400
changeset 577 5118610ce160
parent 1 fe660c52c48f
permissions -rw-r--r--
Made template parser remember last initted page_id and namespace to avoid double init; made additional_headers reassign only do so if $template->additional_headers is empty (it's being blanked somehow, need to come up with a backtrace sometime)

<?php


class Text_Wiki_Render_Plain_Url extends Text_Wiki_Render {
    
    
    /**
    * 
    * Renders a token into text matching the requested format.
    * 
    * @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'];
    }
}
?>