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.  
  3. /**
  4.  *
  5.  * The rule removes all remaining newlines.
  6.  *
  7.  * @category Text
  8.  *
  9.  * @package Text_Wiki
  10.  *
  11.  * @author Paul M. Jones <pmjones@php.net>
  12.  *
  13.  * @license LGPL
  14.  *
  15.  * @version $Id: Tighten.php 222265 2006-10-23 13:11:27Z mic $
  16.  *
  17.  */
  18.  
  19.  
  20. class Text_Wiki_Parse_Tighten extends Text_Wiki_Parse {
  21.  
  22.  
  23.     /**
  24.      *
  25.      * Apply tightening directly to the source text.
  26.      *
  27.      * @access public
  28.      *
  29.      */
  30.  
  31.     function parse()
  32.     {
  33.         $this->wiki->source = str_replace("\n"'',
  34.             $this->wiki->source);
  35.     }
  36. }
  37. ?>

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