Doc #76981 [Ver]: Not all DateTime methods show up in TOC

From: Date: Tue, 09 Oct 2018 18:13:35 +0000
Subject: Doc #76981 [Ver]: Not all DateTime methods show up in TOC
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16066@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76981&edit=1 ID: 76981 Updated by: salathe@php.net Reported by: teo8976 at gmail dot com -Summary: Not all DateTime methods show up on the right column +Summary: Not all DateTime methods show up in TOC Status: Verified Type: Documentation Problem -Package: Website problem +Package: Doc Build problem PHP Version: 7.3.0RC2 Block user comment: N Private report: N New Comment: Moved to PhD package. Previous Comments: ------------------------------------------------------------------------ [2018-10-09 12:11:47] cmb@php.net This looks like a PhD issue. SplTempFileObject shows the same behavior: while the inherited methods are listed an the class page[1], they are not shown in the menu of the __construct page[2]. [1] <http://php.net/manual/en/class.spltempfileobject.php> [2] <http://php.net/manual/en/spltempfileobject.construct.php> ------------------------------------------------------------------------ [2018-10-09 09:53:32] gabri dot ns at gmail dot com it work in reverse. if you access page for the lost function, they are there, but not the other. ------------------------------------------------------------------------ [2018-10-09 09:41:20] derick@php.net If you do that, you also need to add them to DateTimeImmutable. ------------------------------------------------------------------------ [2018-10-08 18:47:42] kalle@php.net Thats an interesting one, as the methods in question is documented under DateTimeInterface, perhaps we should just move them around so they are documented at DateTime where they actually belong. ------------------------------------------------------------------------ [2018-10-07 17:25:01] teo8976 at gmail dot com Description: ------------ --- http://php.net/manual/en/datetime.construct.php --- Test script: --------------- Visit any of these: http://php.net/manual/en/datetime.setdate.php http://php.net/manual/en/datetime.construct.php http://php.net/manual/en/datetime.settimestamp.php etc., that is, the documentation page for any of the methods of the class DateTime Expected result: ---------------- While navigating in any of the abovementioned pages (about each of the class methods), all the class methods should be listed in the right column of the page. Actual result: -------------- Quite a few methods are missing: diff() format() getOffset() getTimestamp() getTimezone() They can be found here: http://php.net/manual/en/class.datetime.php in the body of the page Incidentally, the ones that are missing from the right column are listed out of alphabetical order at http://php.net/manual/en/class.datetime.php. I wonder if that's a coincidence. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76981&edit=1

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