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

Source for file Heading.php

Documentation is available at Heading.php

  1. <?php
  2.  
  3. class Text_Wiki_Render_Creole_Heading extends Text_Wiki_Render {
  4.     function token($options)
  5.     {
  6.         if ($options['type'== 'start'{
  7.             return str_pad(''$options['level']'='' ';
  8.         }
  9.         else if ($options['type'== 'end'{
  10.             // next line would add trailing '=' signs
  11.             // return ' ' . str_pad('', $options['level'], '=') . "\n\n";
  12.             return "\n\n";
  13.         }
  14.     }
  15. }
  16. ?>

Documentation generated on Mon, 11 Mar 2019 15:40:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.