[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/inc/savant2/Savant2/ -> Filter.php (source)

   1  <?php
   2  
   3  /**
   4  * 
   5  * Abstract Savant2_Filter class.
   6  * 
   7  * You have to extend this class for it to be useful; e.g., "class
   8  * Savant2_Filter_example extends Savant2_Filter".
   9  * 
  10  * $Id: Filter.php 18360 2005-05-26 19:38:09Z mipmip $
  11  * 
  12  * @author Paul M. Jones <pmjones@ciaweb.net>
  13  * 
  14  * @package Savant2
  15  * 
  16  * @license http://www.gnu.org/copyleft/lesser.html LGPL
  17  * 
  18  * This program is free software; you can redistribute it and/or modify
  19  * it under the terms of the GNU Lesser General Public License as
  20  * published by the Free Software Foundation; either version 2.1 of the
  21  * License, or (at your option) any later version.
  22  *
  23  * This program is distributed in the hope that it will be useful, but
  24  * WITHOUT ANY WARRANTY; without even the implied warranty of
  25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  26  * Lesser General Public License for more details.
  27  *
  28  */
  29  
  30  class Savant2_Filter {
  31      
  32      /**
  33      * 
  34      * Optional reference to the calling Savant object.
  35      * 
  36      * @var object
  37      * 
  38      */
  39      
  40      var $Savant = null;
  41      
  42      
  43      /**
  44      * 
  45      * Constructor.
  46      * 
  47      * @access public
  48      * 
  49      */
  50      
  51  	function Savant2_Filter($conf = array())
  52      {
  53          settype($conf, 'array');
  54          foreach ($conf as $key => $val) {
  55              $this->$key = $val;
  56          }
  57      }
  58      
  59      
  60      /**
  61      * 
  62      * Stub method for extended behaviors.
  63      *
  64      * @access public
  65      * 
  66      * @param string &$text The text to filter.
  67      *
  68      * @return void
  69      *
  70      */
  71      
  72  	function filter(&$text)
  73      {
  74      }
  75  }
  76  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7