PEAR_PackageFileManager::setOptions()

PEAR_PackageFileManager::setOptions() -- Set package.xml generation options

Synopsis

require_once 'PEAR/PackageFileManager.php';

void|PEAR_Error PEAR_PackageFileManager::setOptions ([array $options = array()])

Description

The options array is indexed as follows:
1      $options = array('option_name' => <optionvalue>);

The documentation below simplifies this description through the use of option_name without quotes

Configuration options:

package.xml simple options:

WARNING: all complex options that require a file path are case-sensitive

package.xml complex options:

Parameter

array $options

Throws

throws PEAR_PACKAGEFILEMANAGER_NOPKGDIR

throws PEAR_PACKAGEFILEMANAGER_NOVERSION

throws PEAR_PACKAGEFILEMANAGER_NOSTATE

throws PEAR_PACKAGEFILEMANAGER_NOBASEDIR

throws PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND_ANYWHERE

throws PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND

See

see PEAR_PackageFileManager_CVS

see PEAR_PackageFileManager_File

Note

This function can not be called statically.