tce_functions_html2txt.php

tce_functions_html2txt.php source file reference

Package: com\tecnick\tcexam\shared

Tags

  • file: Function to convert HTML code to Text string.
  • author: Nicola Asuni
  • since: 2003-03-31

Functions

F_html_to_text()

File: tce_functions_html2txt.php line 30

F_html_to_text(mixed $str[, mixed $preserve_newlines = false ][, mixed $display_links = false ]) : text

Parameters

  • $str : mixed: (string) HTML code string to convert.
  • $preserve_newlines : mixed = false: (boolean) If true convert newline characters to HTML line breaks.
  • $display_links : mixed = false: (boolean) If true gives a textual representation of links and images.

Return values

text —

string