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

Source for file Url.php

Documentation is available at Url.php

  1. <?php
  2.  
  3.  
  4.  
  5.  
  6.     var $conf = array(
  7.         'target' => false,
  8.         'images' => true,
  9.         'img_ext' => array('jpg''jpeg''gif''png')
  10.     );
  11.  
  12.     /**
  13.     *
  14.     * Renders a token into text matching the requested format.
  15.     *
  16.     * @access public
  17.     *
  18.     * @param array $options The "options" portion of the token (second
  19.     *  element).
  20.     *
  21.     * @return string The text rendered from the token options.
  22.     *
  23.     */
  24.  
  25.     function token($options)
  26.     {
  27.         // create local variables from the options array (text,
  28.         // href, type)
  29.         extract($options);
  30.  
  31.         if ($options['type'== 'start'{
  32.             return '';
  33.         else if ($options['type'== 'end'{
  34.             return '\footnote{' $href '}';
  35.         else {
  36.             return $text '\footnote{' $href '}';
  37.         }
  38.     }
  39. }
  40. ?>

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