#49795 [Opn->Csd]: List of methods is incorrect

From: Date: Fri, 13 Nov 2009 21:23:50 +0000
Subject: #49795 [Opn->Csd]: List of methods is incorrect
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3137@lists.php.net to get a copy of this message
ID: 49795 Updated by: vrana@php.net Reported By: msjb82 at yahoo dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: n/a PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2009-10-06 19:45:44] msjb82 at yahoo dot com Description: ------------ List of methods actually shows functions, not the methods from the class. Reproduce code: --------------- --- From manual page: http://us2.php.net/manual/en/class.tidy.php --- Expected result: ---------------- The Tidy class Introduction An HTML node in an HTML file, as detected by tidy. Class synopsis Tidy Tidy { /* Properties */ /* Methods */ ***** *****These are tidy function, not class methods (the naming *****convention is even distinct). Method list here should match *****method list at bottom of same page. Remember, this is the *****class synopsis, not the library synopsis. ***** tidyNode tidy_get_body ( tidy $object ) bool tidy_clean_repair ( tidy $object ) tidy tidy::__construct ([ string $filename [, mixed $config [, string $encoding [, bool $use_include_path ]]]] ) bool tidy_diagnose ( tidy $object ) array tidy_get_config ( tidy $object ) int tidy_get_html_ver ( tidy $object ) mixed tidy_getopt ( tidy $object , string $option ) string tidy_get_opt_doc ( tidy $object , string $optname ) string tidy_get_release ( void ) int tidy_get_status ( tidy $object ) tidyNode tidy_get_head ( tidy $object ) tidyNode tidy_get_html ( tidy $object ) bool tidy_is_xhtml ( tidy $object ) bool tidy_is_xml ( tidy $object ) tidy tidy_parse_file ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] ) tidy tidy_parse_string ( string $input [, mixed $config [, string $encoding ]] ) string tidy_repair_file ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] ) string tidy_repair_string ( string $data [, mixed $config [, string $encoding ]] ) tidyNode tidy_get_root ( tidy $object ) } Properties errorBuffer The last warnings and errors from TidyLib Table of Contents tidy::body — Returns a tidyNode object starting from the tag of the tidy parse tree tidy::CleanRepair — Execute configured cleanup and repair operations on parsed markup tidy::__construct — Constructs a new tidy object tidy::diagnose — Run configured diagnostics on parsed and repaired markup tidy::getConfig — Get current Tidy configuration tidy::htmlver — Get the Detected HTML version for the specified document tidy::getOpt — Returns the value of the specified configuration option for the tidy document tidy::getoptdoc — Returns the documentation for the given option name tidy::getRelease — Get release date (version) for Tidy library tidy::getStatus — Get status of specified document tidy::head — Returns a tidyNode object starting from the tag of the tidy parse tree tidy::html — Returns a tidyNode object starting from the tag of the tidy parse tree tidy::isXhtml — Indicates if the document is a XHTML document tidy::isXml — Indicates if the document is a generic (non HTML/XHTML) XML document tidy::parseFile — Parse markup in file or URI tidy::parseString — Parse a document stored in a string tidy::repairFile — Repair a file and return it as a string tidy::repairString — Repair a string using an optionally provided configuration file tidy::root — Returns a tidyNode object representing the root of the tidy parse tree Actual result: -------------- The Tidy class Introduction An HTML node in an HTML file, as detected by tidy. Class synopsis Tidy Tidy { /* Properties */ /* Methods */ tidyNode tidy_get_body ( tidy $object ) bool tidy_clean_repair ( tidy $object ) tidy tidy::__construct ([ string $filename [, mixed $config [, string $encoding [, bool $use_include_path ]]]] ) bool tidy_diagnose ( tidy $object ) array tidy_get_config ( tidy $object ) int tidy_get_html_ver ( tidy $object ) mixed tidy_getopt ( tidy $object , string $option ) string tidy_get_opt_doc ( tidy $object , string $optname ) string tidy_get_release ( void ) int tidy_get_status ( tidy $object ) tidyNode tidy_get_head ( tidy $object ) tidyNode tidy_get_html ( tidy $object ) bool tidy_is_xhtml ( tidy $object ) bool tidy_is_xml ( tidy $object ) tidy tidy_parse_file ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] ) tidy tidy_parse_string ( string $input [, mixed $config [, string $encoding ]] ) string tidy_repair_file ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = false ]]] ) string tidy_repair_string ( string $data [, mixed $config [, string $encoding ]] ) tidyNode tidy_get_root ( tidy $object ) } Properties errorBuffer The last warnings and errors from TidyLib Table of Contents tidy::body — Returns a tidyNode object starting from the tag of the tidy parse tree tidy::CleanRepair — Execute configured cleanup and repair operations on parsed markup tidy::__construct — Constructs a new tidy object tidy::diagnose — Run configured diagnostics on parsed and repaired markup tidy::getConfig — Get current Tidy configuration tidy::htmlver — Get the Detected HTML version for the specified document tidy::getOpt — Returns the value of the specified configuration option for the tidy document tidy::getoptdoc — Returns the documentation for the given option name tidy::getRelease — Get release date (version) for Tidy library tidy::getStatus — Get status of specified document tidy::head — Returns a tidyNode object starting from the tag of the tidy parse tree tidy::html — Returns a tidyNode object starting from the tag of the tidy parse tree tidy::isXhtml — Indicates if the document is a XHTML document tidy::isXml — Indicates if the document is a generic (non HTML/XHTML) XML document tidy::parseFile — Parse markup in file or URI tidy::parseString — Parse a document stored in a string tidy::repairFile — Repair a file and return it as a string tidy::repairString — Repair a string using an optionally provided configuration file tidy::root — Returns a tidyNode object representing the root of the tidy parse tree ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49795&edit=1

« previous php.doc.bugs (#3137) next »