Class Horde_Text_Filter_Html2text
Takes HTML and converts it to formatted, plain text.
Optional parameters to constructor:
callback - (callback) Callback triggered on every node. Passed the DOMDocument object and the DOMNode object. If the callback returns non-null, add this text to the output and skip further processing of the node. width - (integer) The wrapping width. Set to 0 to not wrap.
Copyright 2004-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_Text_Filter_Base
- Horde_Text_Filter_Html2text
Package: Text\Filter
Category: Horde
License: LGPL 2.1
Author: Jan Schneider jan@horde.org
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Text/Filter/Html2text.php
Category: Horde
License: LGPL 2.1
Author: Jan Schneider jan@horde.org
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Text/Filter/Html2text.php
public
array
|
|
public
string
|
|
public
string
|
__construct()
|