PEAR_PackageFileManager::writePackageFile

PEAR_PackageFileManager::writePackageFile() – Writes the package.xml file out with the newly created <release></release> tag

Synopsis

require_once 'PEAR/PackageFileManager.php';

void|PEAR_Error PEAR_PackageFileManager::writePackageFile ( boolean $debuginterface = null )

Description

ALWAYS use debugPackageFile() to verify that output is correct before overwriting your package.xml

Parameter

boolean $debuginterface

NULL if no debugging, TRUE if web interface, FALSE if command-line

Throws

throws PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS

throws PEAR_PACKAGEFILEMANAGER_ADD_MAINTAINERS

throws PEAR_PACKAGEFILEMANAGER_CANTWRITE_PKGFILE

throws PEAR_PACKAGEFILEMANAGER_CANTOPEN_TMPPKGFILE

throws PEAR_PACKAGEFILEMANAGER_CANTCOPY_PKGFILE

throws PEAR_PACKAGEFILEMANAGER_DEST_UNWRITABLE

See

see PEAR_PackageFileManager::debugPackageFile() - calls with the debug parameter set based on whether it is called from the command-line or web interface

Note

This function can not be called statically.

Set package.xml generation options (Previous) Generate a file list from a CVS checkout (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.