Doc #71424 [Opn]: Class \gnupg is not documented, but the \gnupg_*() functions are
| From: | bugs dot php dot net dot + at y dot st | Date: | Thu, 21 Jan 2016 05:10:07 +0000 |
| Subject: | Doc #71424 [Opn]: Class \gnupg is not documented, but the \gnupg_*() functions are | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13133@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71424&edit=1
ID: 71424
User updated by: bugs dot php dot net dot + at y dot st
Reported by: bugs dot php dot net dot + at y dot st
Summary: Class \gnupg is not documented, but the \gnupg_*()
functions are
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: Debian
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I meant to say "A simple mention that an object-oriented way to use GnuPG *exists* would
suffice.".
Previous Comments:
------------------------------------------------------------------------
[2016-01-21 05:03:54] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71424&edit=1