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

Source for file Blockquote.php

Documentation is available at Blockquote.php

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

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