php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71424 Class \gnupg is not documented, but the \gnupg_*() functions are
Submitted: 2016-01-21 05:03 UTC Modified: 2016-07-25 16:48 UTC
From: bugs dot php dot net dot + at y dot st Assigned: cmb (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugs dot php dot net dot + at y dot st
New email:
PHP Version: OS:

 

 [2016-01-21 05:03 UTC] bugs dot php dot net dot + at y dot st
Description:
------------
---
From manual page: http://www.php.net/book.gnupg
---
The \gnupg class is not mentioned in the manual, but the \gnupg_*() functions are documented.

Test script:
---------------
<?php
// No error is caused if the gnupg extension is loaded.
$gnupg = new gnupg;

Expected result:
----------------
A simple mention that an object-oriented way to use GnuPG would suffice. Some sections of the manual do not list out the methods of the object-oriented class that parallels the procedural functions, instead only mentioning the class. In this case, such a mention is all that is really needed.

Actual result:
--------------
The class is not mentioned. I wrote a class to handle the \gnupg_*() functions in an object-oriented way, only to find that it was not needed.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-21 05:10 UTC] bugs dot php dot net dot + at y dot st
I meant to say "A simple mention that an object-oriented way to use GnuPG *exists* would suffice.".
 [2016-07-25 16:33 UTC] cmb@php.net
-Package: Documentation problem +Package: gnupg
 [2016-07-25 16:47 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=339716
Log: Fix #71424: Class \gnupg is not documented, but the \gnupg_*() functions are
 [2016-07-25 16:48 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-07-25 16:48 UTC] cmb@php.net
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.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=ef7b15201c68a7b929267edd52185e0f94ab002a
Log: Fix #71424: Class \gnupg is not documented, but the \gnupg_*() functions are
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC