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

Source for file Tighten.php

Documentation is available at Tighten.php

  1. <?php
  2. // $Id: Tighten.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $
  3.  
  4.  
  5. /**
  6. * The rule removes all remaining newlines.
  7. *
  8. @author Paul M. Jones <pmjones@ciaweb.net>
  9. *
  10. @package Text_Wiki
  11. *
  12. */
  13.  
  14.     
  15.     
  16.     /**
  17.     * 
  18.     * Apply tightening directly to the source text.
  19.     *
  20.     * @access public
  21.     * 
  22.     */
  23.     
  24.     function parse()
  25.     {
  26.         $this->wiki->source = str_replace("\n"'',
  27.             $this->wiki->source);
  28.     }
  29. }
  30. ?>

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