PEAR_PackageFileManager::addConfigureOption

PEAR_PackageFileManager::addConfigureOption() – Add an install-time configuration option for building of source

Synopsis

require_once 'PEAR/PackageFileManager.php';

void|PEAR_Error PEAR_PackageFileManager::addConfigureOption ( string $name , string $prompt , string $default = null )

Description

This option is only useful to PECL projects that are built upon installation

Parameter

string $name

name of the option

string $prompt

prompt to display to the user

string $default

default value

Throws

throws PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS

Note

This function can not be called statically.

Does nothing, use setOptions (Previous) Add a dependency on another package, or an extension/php (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.