Text_Wiki
[ class tree: Text_Wiki ] [ index: Text_Wiki ] [ all elements ]

Source for file Superscript.php

Documentation is available at Superscript.php

  1. <?php
  2.  
  3.     
  4.     var $conf = array(
  5.         'css' => null
  6.     );
  7.     
  8.     /**
  9.     * 
  10.     * Renders a token into text matching the requested format.
  11.     * 
  12.     * @access public
  13.     * 
  14.     * @param array $options The "options" portion of the token (second
  15.     *  element).
  16.     * 
  17.     * @return string The text rendered from the token options.
  18.     * 
  19.     */
  20.     
  21.     function token($options)
  22.     {
  23.         if ($options['type'== 'start'{
  24.             $css $this->formatConf(' class="%s"''css');
  25.             return "<sup$css>";
  26.         }
  27.         
  28.         if ($options['type'== 'end'{
  29.             return '</sup>';
  30.         }
  31.     }
  32. }
  33. ?>

Documentation generated on Mon, 11 Mar 2019 14:28:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.