HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/php74-backup-20260910/pear/Text/Wiki/Render/Latex/Anchor.php
<?php

/**
* 
* This class renders an anchor target name in LaTeX.
*
* $Id: Anchor.php 169211 2004-09-25 19:05:14Z pmjones $
* 
* @author Jeremy Cowgar <[email protected]>
*
* @package Text_Wiki
*
*/

class Text_Wiki_Render_Latex_Anchor extends Text_Wiki_Render {
    
    function token($options)
    {
        extract($options); // $type, $name
        
        if ($type == 'start') {
            //return sprintf('<a id="%s">',$name);
            return '';
        }
        
        if ($type == 'end') {
            //return '</a>';
            return '';
        }
    }
}

?>