#49795 [NEW]: List of methods is incorrect
| From: | msjb82 at yahoo dot com | Date: | Tue, 06 Oct 2009 19:45:45 +0000 |
| Subject: | #49795 [NEW]: List of methods is incorrect | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-2892@lists.php.net to get a copy of this message | ||
From: msjb82 at yahoo dot com
Operating system: n/a
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: List of methods is incorrect
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 bug report at http://bugs.php.net/?id=49795&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49795&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49795&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49795&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49795&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49795&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49795&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49795&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49795&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49795&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49795&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49795&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49795&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49795&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49795&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49795&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49795&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49795&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49795&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49795&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49795&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49795&r=mysqlcfg