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. * 
  5. * This class renders an anchor target name in LaTeX.
  6. *
  7. * $Id: Anchor.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $
  8. * 
  9. * @author Jeremy Cowgar <jeremy@cowgar.com>
  10. *
  11. * @package Text_Wiki
  12. *
  13. */
  14.  
  15.     
  16.     function token($options)
  17.     {
  18.         extract($options); // $type, $name
  19.         
  20.         if ($type == 'start') {
  21.             //return sprintf('<a id="%s">',$name);
  22.             return '';
  23.         }
  24.         
  25.         if ($type == 'end') {
  26.             //return '</a>';
  27.             return '';
  28.         }
  29.     }
  30. }
  31.  
  32. ?>

Documentation generated on Mon, 11 Mar 2019 13:56:51 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.