cvs: pear-core / package-PEAR.xml package2.xml /PEAR Frontend.php

From: Date: Mon, 02 Jan 2006 17:46:10 +0000
Subject: cvs: pear-core / package-PEAR.xml package2.xml /PEAR Frontend.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-37257@lists.php.net to get a copy of this message
cellog Mon Jan 2 17:46:10 2006 UTC Modified files: /pear-core package-PEAR.xml package2.xml /pear-core/PEAR Frontend.php Log: * fix Bug #6040: PEAR_Frontend#setFrontendClass has no docblock; PEAR_Frontend not documented http://cvs.php.net/viewcvs.cgi/pear-core/package-PEAR.xml?r1=1.320&r2=1.321&diff_format=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.320 pear-core/package-PEAR.xml:1.321 --- pear-core/package-PEAR.xml:1.320 Mon Jan 2 15:01:28 2006 +++ pear-core/package-PEAR.xml Mon Jan 2 17:46:09 2006 @@ -75,6 +75,8 @@ * fix problem with -options when using CGI version of PHP * fix Critical Bug #5999: support for baseinstalldir broken in package2.xml format * fix Bug #6034: date format bug + * fix Bug #6040: PEAR_Frontend#setFrontendClass has no docblock; + PEAR_Frontend not documented * fix Bug #6047: pear makerpm fails to handle docs in root directory * fix Bug #6106: Notices by list-upgrades (caused by time-outs ?) * fix Bug #6145: Can't install PEAR with INSTALL_ROOT environment http://cvs.php.net/viewcvs.cgi/pear-core/package2.xml?r1=1.213&r2=1.214&diff_format=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.213 pear-core/package2.xml:1.214 --- pear-core/package2.xml:1.213 Mon Jan 2 15:01:28 2006 +++ pear-core/package2.xml Mon Jan 2 17:46:09 2006 @@ -80,6 +80,8 @@ * fix problem with -options when using CGI version of PHP * fix Critical Bug #5999: support for baseinstalldir broken in package2.xml format * fix Bug #6034: date format bug + * fix Bug #6040: PEAR_Frontend#setFrontendClass has no docblock; + PEAR_Frontend not documented * fix Bug #6047: pear makerpm fails to handle docs in root directory * fix Bug #6106: Notices by list-upgrades (caused by time-outs ?) * fix Bug #6145: Can't install PEAR with INSTALL_ROOT environment http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Frontend.php?r1=1.4&r2=1.5&diff_format=u Index: pear-core/PEAR/Frontend.php diff -u pear-core/PEAR/Frontend.php:1.4 pear-core/PEAR/Frontend.php:1.5 --- pear-core/PEAR/Frontend.php:1.4 Wed Apr 13 04:17:45 2005 +++ pear-core/PEAR/Frontend.php Mon Jan 2 17:46:10 2006 @@ -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: Frontend.php,v 1.4 2005/04/13 04:17:45 cellog Exp $ + * @version CVS: $Id: Frontend.php,v 1.5 2006/01/02 17:46:10 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -34,6 +34,9 @@ /** * Singleton-based frontend for PEAR user input/output + * + * Note that frontend classes must implement userConfirm(), and shoul implement + * displayFatalError() and outputData() * @category pear * @package PEAR * @author Greg Beaver <cellog@php.net> @@ -64,6 +67,15 @@ } } + /** + * Set the frontend class that will be used by calls to {@link singleton()} + * + * Frontends are expected to conform to the PEAR naming standard of + * _ => DIRECTORY_SEPARATOR (PEAR_Frontend_CLI is in PEAR/Frontend/CLI.php) + * @param string $uiclass full class name + * @return PEAR_Frontend + * @static + */ function &setFrontendClass($uiclass) { if (is_object($GLOBALS['_PEAR_FRONTEND_SINGLETON']) &&

« previous php.pear.cvs (#37257) next »