includes/wikiengine/Render/Plain/Phplookup.php
author Dan
Sun, 25 Nov 2007 17:53:03 -0500
changeset 292 b3cfaf0a505c
parent 1 fe660c52c48f
permissions -rw-r--r--
Fixed highlighting in search results; changed search algorithm to give more score for terms found in page title; hopefully (hackishly) fixed login_key_cache getting too long

<?php

class Text_Wiki_Render_Plain_Phplookup extends Text_Wiki_Render {
    
    var $conf = array('target' => '_blank');
    
    /**
    * 
    * 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 trim($options['text']);
    }
}
?>