cvs: pear /PEAR_PackageFileManager_Frontend_Web/examples newPackageFromScratch.php

From: Date: Sat, 19 Aug 2006 10:11:08 +0000
Subject: cvs: pear /PEAR_PackageFileManager_Frontend_Web/examples newPackageFromScratch.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-41692@lists.php.net to get a copy of this message
farell Sat Aug 19 10:11:08 2006 UTC Modified files: /pear/PEAR_PackageFileManager_Frontend_Web/examples newPackageFromScratch.php Log: - add dump action - add more doc / comment http://cvs.php.net/viewvc.cgi/pear/PEAR_PackageFileManager_Frontend_Web/examples/newPackageFromScratch.php?r1=1.1&r2=1.2&diff_format=u Index: pear/PEAR_PackageFileManager_Frontend_Web/examples/newPackageFromScratch.php diff -u pear/PEAR_PackageFileManager_Frontend_Web/examples/newPackageFromScratch.php:1.1 pear/PEAR_PackageFileManager_Frontend_Web/examples/newPackageFromScratch.php:1.2 --- pear/PEAR_PackageFileManager_Frontend_Web/examples/newPackageFromScratch.php:1.1 Sun May 21 12:47:00 2006 +++ pear/PEAR_PackageFileManager_Frontend_Web/examples/newPackageFromScratch.php Sat Aug 19 10:11:08 2006 @@ -7,7 +7,7 @@ * @author Laurent Laville <pear@laurent-laville.org> * @copyright 2005-2006 Laurent Laville * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: newPackageFromScratch.php,v 1.1 2006/05/21 12:47:00 farell Exp $ + * @version CVS: $Id: newPackageFromScratch.php,v 1.2 2006/08/19 10:11:08 farell Exp $ * @since File available since Release 0.4.0 */ @@ -22,6 +22,9 @@ // build empty instance of PFM web frontend $web =& PEAR_PackageFileManager_Frontend::singleton('Web', false, false, $logger); +// add ability to dump some informations for debugging with default class 'ActionDump' +$web->addActions(array('dump' => true)); +// stop if serious error(s) if ($web->hasErrors('error')) { $errors = $web->getErrors(); echo '<pre>'; @@ -29,5 +32,6 @@ echo '</pre>'; die('exit on Error'); } +// run the wizard tabbed pages $web->run(); ?> \ No newline at end of file

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