cvs: pear-core /PEAR/Task/Postinstallscript rw.php
| From: | Greg Beaver | Date: | Wed, 19 Oct 2005 04:16:16 +0000 |
| Subject: | cvs: pear-core /PEAR/Task/Postinstallscript rw.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-35700@lists.php.net to get a copy of this message | ||
cellog Wed Oct 19 00:16:16 2005 EDT
Modified files:
/pear-core/PEAR/Task/Postinstallscript rw.php
Log:
add doc comment
http://cvs.php.net/diff.php/pear-core/PEAR/Task/Postinstallscript/rw.php?r1=1.6&r2=1.7&ty=u
Index: pear-core/PEAR/Task/Postinstallscript/rw.php
diff -u pear-core/PEAR/Task/Postinstallscript/rw.php:1.6
pear-core/PEAR/Task/Postinstallscript/rw.php:1.7
--- pear-core/PEAR/Task/Postinstallscript/rw.php:1.6 Thu Sep 15 00:16:48 2005
+++ pear-core/PEAR/Task/Postinstallscript/rw.php Wed Oct 19 00:16:13 2005
@@ -15,7 +15,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: rw.php,v 1.6 2005/09/15 04:16:48 cellog Exp $
+ * @version CVS: $Id: rw.php,v 1.7 2005/10/19 04:16:13 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a10
*/
@@ -69,6 +69,17 @@
return 'postinstallscript';
}
+ /**
+ * add a <paramgroup> to the post-install script
+ *
+ * Order is significant, so call this method in the same
+ * sequence the users should see the paramgroups. The $params
+ * parameter should either be the result of a call to {@link getParam()}
+ * or an array of calls to getParam().
+ * @param string $id
+ * @param array $params
+ * @param string|false $instructions
+ */
function addParamGroup($id, $params, $instructions = false)
{
if (isset($params[0]) && !isset($params[1])) {