![]() PEAR_PackageFileManager : The Definitive Guide |
While API 1.5.x did not provides any way to retrieve user data of a
maintainer. PEAR_PackageFileManager 1.6.0+ allow to get a full list
organized by role or not, or a restricted list to a specific role.
These methods to get data are : getMaintainers()
, getLeads()
, getDevelopers()
, getContributors()
and getHelpers()
.
Here are the 5 methods in action :
With such functions, we can retrieve easily a specific user and change its properties. For example, suppose an helper become a new lead on the next stable release.
We could write something like :
PEAR_PackageFileManager : The Definitive Guide | v 1.6.0 : November 17, 2006 |