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 LaTeX.
  5. *
  6. * $Id$
  7. @author Jeremy Cowgar <jeremy@cowgar.com>
  8. *
  9. @package Text_Wiki
  10. *
  11. */
  12.  
  13.     
  14.     function token($options)
  15.     {
  16.         extract($options)// $type, $name
  17.         
  18.         if ($type == 'start'{
  19.             //return sprintf('<a id="%s">',$name);
  20.             return '';
  21.         }
  22.         
  23.         if ($type == 'end'{
  24.             //return '</a>';
  25.             return '';
  26.         }
  27.     }
  28. }
  29.  
  30. ?>

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