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.