[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/bundled-libs/Text/Wiki/Parse/Default/ -> Tighten.php (source)

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


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics