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

Source for file Anchor.php

Documentation is available at Anchor.php

  1. <?php
  2.  
  3. /**
  4. * This class renders an anchor target name in XHTML.
  5. *
  6. @author Manuel Holtgrewe <purestorm at ggnore dot net>
  7. *
  8. @author Paul M. Jones <pmjones at ciaweb dot net>
  9. *
  10. @package Text_Wiki
  11. *
  12. */
  13.  
  14. class Text_Wiki_Render_Tiki_Anchor extends Text_Wiki_Render {
  15.     
  16.     function token($options)
  17.     {
  18.         if ($options['type'== 'start'{
  19.             return '(('.$options['name'];
  20.         }
  21.         
  22.         if ($options['type'== 'end'{
  23.             return '))';
  24.         }
  25.     }
  26. }
  27.  
  28. ?>

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