[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

/lib/Horde/MIME/Viewer/ -> enriched.php (sommaire)

(pas de description)

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

Définit 1 class

MIME_Viewer_enriched:: (3 méthodes):
  render()
  colorize()
  getType()


Classe: MIME_Viewer_enriched  - X-Ref

The MIME_Viewer_enriched class renders out plain text from
enriched content tags, ala RFC 1896.

By RFC, we must do the minimal conformance measures of: A minimal
text/enriched implementation is one that converts "<<" to "<",
removes everything between a <param> command and the next balancing
</param> removes all other formatting commands (all text enclosed
in angle brackets), and outside of <nofill> environments converts
any series of n CRLFs to n-1 CRLFs, and converts any lone CRLF
pairs to SPACE.

We don't qualify as we don't currently track the <nofill>
environment, that is we do CRLF conversion even if <nofill> is
specified in the text, but we're close at least.

$Horde: framework/MIME/MIME/Viewer/enriched.php,v 1.23.10.6 2006/01/01 21:28:25 jan Exp $

Copyright 2001-2006 Eric Rostetter <eric.rostetter@physics.utexas.edu>

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

render()   X-Ref
Render out the currently set contents in HTML format. The
$mime_part class variable has the information to render out,
encapsulated in a MIME_Part object.


colorize($colors)   X-Ref
Pas de description

getType()   X-Ref
Return the MIME content type of the rendered content.

return: string  The content type of the output.



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