PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tidy_get_release> <tidy_get_opt_doc
Last updated: Fri, 26 Sep 2008

view this page in

tidy_get_output

(PHP 5, PECL tidy:0.5.2-1.2)

tidy_get_outputZwraca łańcuch zawierający poprawiony przez Tidy kod HTML, XHTML lub XML

Opis

string tidy_get_output ( tidy $obiekt )

Zwraca łańcuch zawierający poprawiony kod HTML, XHTML lub XML.

Parametry

obiekt

Obiekt Tidy.

Zwracane wartości

Zwraca kod poprawiony przez Tidy.

Przykłady

Example #1 Przykład tidy_get_output()

<?php

$html 
'<p>paragraf</i>';
$tidy tidy_parse_string($html);

$tidy->CleanRepair();

echo 
tidy_get_output($tidy);
?>

Powyższy przykład wyświetli:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title></title>
</head>
<body>
<p>paragraf</p>
</body>
</html>



add a note add a note User Contributed Notes
tidy_get_output
There are no user contributed notes for this page.

tidy_get_release> <tidy_get_opt_doc
Last updated: Fri, 26 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites