[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

/lib/Horde/Text/Filter/ -> cleanascii.php (sommaire)

(pas de description)

Poids: 83 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Text_Filter_cleanascii:: (2 méthodes):
  preProcess()
  getPatterns()


Classe: Text_Filter_cleanascii  - X-Ref

Removes some common entities and high-ascii or otherwise nonstandard
characters common in text pasted from Microsoft Word into a browser.

This function should NOT be used on non-ASCII text; it may and probably
will butcher other character sets indescriminately.  Use it only to clean
US-ASCII (7-bit) text which you suspect (or know) may have invalid or
non-printing characters in it.

$Horde: framework/Text_Filter/Filter/cleanascii.php,v 1.3.2.4 2006/01/01 21:28:38 jan Exp $

Copyright 2004-2006 Jan Schneider <jan@horde.org>

See the enclosed file COPYING for license information (LGPL). If you did
not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

preProcess($text)   X-Ref
Executes any code necessary before applying the filter patterns.

param: string $text  The text before the filtering.
return: string  The modified text.

getPatterns()   X-Ref
Returns a hash with replace patterns.

return: array  Patterns hash.



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