PEAR_PackageFileManager::addMaintainer

PEAR_PackageFileManager::addMaintainer() – Add a maintainer to the list of maintainers.

Synopsis

require_once 'PEAR/PackageFileManager.php';

void PEAR_PackageFileManager::addMaintainer ( string $handle , lead|developer|contributor|helper $role , string $name , string $email )

Description

Every maintainer must have a valid account at pear.php.net. The first parameter is the account name (for instance, cellog is the handle for Greg Beaver at pear.php.net). Every maintainer has one of four possible roles:

  • lead: the primary maintainer

  • developer: an important developer on the project

  • contributor: self-explanatory

  • helper: ditto

Finally, specify the name and email of the maintainer

Parameter

string $handle

username on pear.php.net of maintainer

lead|developer|contributor|helper $role

role of maintainer

string $name

full name of maintainer

string $email

email address of maintainer

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Add a dependency on another package, or an extension/php (Previous) Add an install-time platform conditional install for a file (Next)
Last updated: Mon, 22 Dec 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.