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

Source for file Italic.php

Documentation is available at Italic.php

  1. <?php
  2.     
  3.     /**
  4.     * 
  5.     * Renders a token into text matching the requested format.
  6.     * 
  7.     * @access public
  8.     * 
  9.     * @param array $options The "options" portion of the token (second
  10.     *  element).
  11.     * 
  12.     * @return string The text rendered from the token options.
  13.     * 
  14.     */
  15.     
  16.     function token($options)
  17.     {
  18.         if ($options['type'== 'start'{
  19.             return '\textit{';
  20.         }
  21.         
  22.         if ($options['type'== 'end'{
  23.             return '}';
  24.         }
  25.     }
  26. }
  27. ?>

Documentation generated on Tue, 12 Mar 2019 21:49:19 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.