cvs: pear /PEAR_PackageFileManager_Frontend_Web/examples makePFMFrontend.php

From: Date: Sat, 19 Aug 2006 10:09:32 +0000
Subject: cvs: pear /PEAR_PackageFileManager_Frontend_Web/examples makePFMFrontend.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-41690@lists.php.net to get a copy of this message
farell Sat Aug 19 10:09:32 2006 UTC Modified files: /pear/PEAR_PackageFileManager_Frontend_Web/examples makePFMFrontend.php Log: - dir fixes - implement usage of external stylesheet http://cvs.php.net/viewvc.cgi/pear/PEAR_PackageFileManager_Frontend_Web/examples/makePFMFrontend.php?r1=1.3&r2=1.4&diff_format=u Index: pear/PEAR_PackageFileManager_Frontend_Web/examples/makePFMFrontend.php diff -u pear/PEAR_PackageFileManager_Frontend_Web/examples/makePFMFrontend.php:1.3 pear/PEAR_PackageFileManager_Frontend_Web/examples/makePFMFrontend.php:1.4 --- pear/PEAR_PackageFileManager_Frontend_Web/examples/makePFMFrontend.php:1.3 Sun May 21 14:04:48 2006 +++ pear/PEAR_PackageFileManager_Frontend_Web/examples/makePFMFrontend.php Sat Aug 19 10:09:32 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: makePFMFrontend.php,v 1.3 2006/05/21 14:04:48 farell Exp $ + * @version CVS: $Id: makePFMFrontend.php,v 1.4 2006/08/19 10:09:32 farell Exp $ * @since File available since Release 0.4.0 */ @@ -21,7 +21,7 @@ $logger = &Log::singleton('file', $output . '.log'); // where to find package sources -$pkgDir = 'D:/php/pear/PEAR_PackageFileManager_Frontend/package2.xml'; +$pkgDir = 'c:/php/pear/PEAR_PackageFileManager_Frontend/package2.xml'; $web =& PEAR_PackageFileManager_Frontend::singleton('Web', $pkgDir, false, $logger); // configuration options @@ -29,11 +29,14 @@ $web->setOption('exportcompatiblev1', true); $web->setOption('changelogoldtonew', false); $web->setOption('simpleoutput', true); -$web->setOption('outputdirectory', 'd:/temp'); +$web->setOption('outputdirectory', 'c:/php/pear'); $web->setOption('filelistgenerator', 'cvs'); -// add ability to dump some informations for debugging -$web->addActions(array('dump' => 'ActionDump')); +// add ability to dump some informations for debugging with default class 'ActionDump' +$web->addActions(array('dump' => true)); +// add default renderer but with a custom stylesheet +$css = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'orangeskin.css'; +$web->addAction('display', new ActionDisplay($css)); // stop if serious error(s) if ($web->hasErrors('error')) {

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